diff --git a/csrc/u8x8_byte.c b/csrc/u8x8_byte.c index ed3d83f5..2aaaa9e6 100644 --- a/csrc/u8x8_byte.c +++ b/csrc/u8x8_byte.c @@ -315,7 +315,7 @@ void u8x8_byte_set_ks0108_cs(u8x8_t *u8x8, uint8_t arg) arg = arg >> 1; u8x8_gpio_call(u8x8, U8X8_MSG_GPIO_CS1, arg&1); arg = arg >> 2; - u8x8_gpio_call(u8x8, U8X8_MSG_GPIO_CS2, arg&2); + u8x8_gpio_call(u8x8, U8X8_MSG_GPIO_CS2, arg&1); } /* 6800 mode */