From 5d9e49c422039b22e5688ff3e67af04b2b2275e0 Mon Sep 17 00:00:00 2001 From: kraus Date: Tue, 21 Aug 2018 19:50:12 +0200 Subject: [PATCH] 2.23.17 --- README.md | 2 +- library.properties | 2 +- src/clib/u8x8_d_ssd1309.c | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a98ce72a..206d0637 100644 --- a/README.md +++ b/README.md @@ -8,5 +8,5 @@ Description: https://github.com/olikraus/u8g2/wiki Issue Tracker: https://github.com/olikraus/u8g2/issues -Download (2.23.16): https://github.com/olikraus/U8g2_Arduino/archive/master.zip +Download (2.23.17): https://github.com/olikraus/U8g2_Arduino/archive/master.zip diff --git a/library.properties b/library.properties index a0b601f3..6f414e1e 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=U8g2 -version=2.23.16 +version=2.23.17 author=oliver maintainer=oliver sentence=Monochrome LCD, OLED and eInk Library. Display controller: SSD1305, SSD1306, SSD1309, SSD1322, SSD1325, SSD1327, SSD1329, SSD1606, SSD1607, SH1106, SH1107, SH1122, T6963, RA8835, LC7981, PCD8544, PCF8812, HX1230, UC1601, UC1604, UC1608, UC1610, UC1611, UC1701, ST7565, ST7567, ST7588, ST75256, NT7534, IST3020, ST7920, LD7032, KS0108, SED1520, SBN1661, IL3820, MAX7219. Interfaces: I2C, SPI, Parallel. diff --git a/src/clib/u8x8_d_ssd1309.c b/src/clib/u8x8_d_ssd1309.c index b966c789..5813e78e 100644 --- a/src/clib/u8x8_d_ssd1309.c +++ b/src/clib/u8x8_d_ssd1309.c @@ -84,8 +84,8 @@ static uint8_t u8x8_d_ssd1309_generic(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int x += u8x8->x_offset; u8x8_cad_SendCmd(u8x8, 0x010 | (x>>4) ); - u8x8_cad_SendArg(u8x8, 0x000 | ((x&15))); - u8x8_cad_SendArg(u8x8, 0x0b0 | (((u8x8_tile_t *)arg_ptr)->y_pos) ); + u8x8_cad_SendCmd(u8x8, 0x000 | ((x&15))); + u8x8_cad_SendCmd(u8x8, 0x0b0 | (((u8x8_tile_t *)arg_ptr)->y_pos) ); do @@ -126,6 +126,7 @@ static uint8_t u8x8_d_ssd1309_generic(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int return 1; } + /*=================================================*/ /* offset 2 version */