From 6093cfb3a950ad6d76174636519130048fc116f5 Mon Sep 17 00:00:00 2001 From: jay Date: Sun, 18 Oct 2015 07:56:54 -0700 Subject: [PATCH] switch to NO ACK function for SSD1309 --- src/ArduinoAVR/Repetier/ui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ArduinoAVR/Repetier/ui.cpp b/src/ArduinoAVR/Repetier/ui.cpp index 61fd197ce..8aada87d7 100644 --- a/src/ArduinoAVR/Repetier/ui.cpp +++ b/src/ArduinoAVR/Repetier/ui.cpp @@ -782,7 +782,7 @@ void initializeLCD() u8g_InitSPI(&u8g,&u8g_dev_ssd1306_128x64_sw_spi, UI_DISPLAY_D4_PIN, UI_DISPLAY_ENABLE_PIN, UI_DISPLAY_RS_PIN, U8G_PIN_NONE, U8G_PIN_NONE); #endif #ifdef U8GLIB_SSD1309_I2C - u8g_InitI2C(&u8g,&u8g_dev_ssd1309_128x64_i2c,U8G_I2C_OPT_NONE); + u8g_InitI2C(&u8g,&u8g_dev_ssd1309_128x64_i2c,U8G_I2C_OPT_NO_ACK); #endif #ifdef U8GLIB_KS0108_FAST u8g_Init8Bit(&u8g,&u8g_dev_ks0108_128x64_fast,UI_DISPLAY_D0_PIN,UI_DISPLAY_D1_PIN,UI_DISPLAY_D2_PIN,UI_DISPLAY_D3_PIN,UI_DISPLAY_D4_PIN,UI_DISPLAY_D5_PIN,UI_DISPLAY_D6_PIN,UI_DISPLAY_D7_PIN,UI_DISPLAY_ENABLE_PIN,UI_DISPLAY_CS1,UI_DISPLAY_CS2,