Change SSD1306_OLED_I2C_CONTROLLER to HAS_SSD1306_OLED_I2C (#13223)
This commit is contained in:
parent
109e67169c
commit
5eb82ca6a8
|
@ -158,10 +158,11 @@
|
|||
#define ENCODER_STEPS_PER_MENU_ITEM 2
|
||||
#endif
|
||||
|
||||
// Generic support for SSD1306 / SSD1309 / SH1106 OLED based LCDs.
|
||||
#if ENABLED(U8GLIB_SSD1306) || ENABLED(U8GLIB_SSD1309) || ENABLED(U8GLIB_SH1106)
|
||||
#define ULTRA_LCD //general LCD support, also 16x2
|
||||
#define DOGLCD // Support for I2C LCD 128x64 (Controller SSD1306 / SSD1309 / SH1106 graphic Display Family)
|
||||
// 128x64 I2C OLED LCDs - SSD1306/SSD1309/SH1106
|
||||
#define HAS_SSD1306_OLED_I2C (ENABLED(U8GLIB_SSD1306) || ENABLED(U8GLIB_SSD1309) || ENABLED(U8GLIB_SH1106))
|
||||
#if HAS_SSD1306_OLED_I2C
|
||||
#define ULTRA_LCD
|
||||
#define DOGLCD
|
||||
#endif
|
||||
|
||||
#if ENABLED(PANEL_ONE) || ENABLED(U8GLIB_SH1106)
|
||||
|
|
|
@ -146,7 +146,7 @@
|
|||
#define SDSS 4
|
||||
#define SD_DETECT_PIN 14
|
||||
|
||||
#elif ENABLED(SSD1306_OLED_I2C_CONTROLLER)
|
||||
#elif HAS_SSD1306_OLED_I2C
|
||||
|
||||
#define BTN_EN1 50
|
||||
#define BTN_EN2 52
|
||||
|
|
|
@ -138,7 +138,7 @@
|
|||
#define SDSS 4
|
||||
#define SD_DETECT_PIN 14
|
||||
|
||||
#elif ENABLED(SSD1306_OLED_I2C_CONTROLLER)
|
||||
#elif HAS_SSD1306_OLED_I2C
|
||||
|
||||
#define BTN_EN1 50
|
||||
#define BTN_EN2 52
|
||||
|
|
|
@ -247,7 +247,7 @@
|
|||
#define SDSS 10
|
||||
#define SD_DETECT_PIN 14
|
||||
|
||||
#elif ENABLED(SSD1306_OLED_I2C_CONTROLLER)
|
||||
#elif HAS_SSD1306_OLED_I2C
|
||||
|
||||
#define BTN_EN1 50
|
||||
#define BTN_EN2 52
|
||||
|
|
|
@ -228,7 +228,7 @@
|
|||
|
||||
#define SD_DETECT_PIN 51
|
||||
|
||||
#elif ENABLED(SSD1306_OLED_I2C_CONTROLLER)
|
||||
#elif HAS_SSD1306_OLED_I2C
|
||||
|
||||
#define BEEPER_PIN 62
|
||||
#define LCD_SDSS 10
|
||||
|
|
|
@ -214,7 +214,7 @@
|
|||
|
||||
#define SD_DETECT_PIN 51
|
||||
|
||||
#elif ENABLED(SSD1306_OLED_I2C_CONTROLLER)
|
||||
#elif HAS_SSD1306_OLED_I2C
|
||||
|
||||
#define BEEPER_PIN 62
|
||||
#define LCD_SDSS 10
|
||||
|
|
Loading…
Reference in a new issue