Skip to content
Snippets Groups Projects
Commit 5eb82ca6 authored by kwalters3's avatar kwalters3 Committed by Scott Lahteine
Browse files

Change SSD1306_OLED_I2C_CONTROLLER to HAS_SSD1306_OLED_I2C (#13223)

parent 109e6716
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment