diff --git a/drivers/display/ssd1306.c b/drivers/display/ssd1306.c index 7714ff5b3d6c95..3f959e01abfe7c 100644 --- a/drivers/display/ssd1306.c +++ b/drivers/display/ssd1306.c @@ -17,13 +17,13 @@ LOG_MODULE_REGISTER(ssd1306); #include "ssd1306_regs.h" #include -#if DT_SOLOMON_SSD1306FB_0_PANEL_SEGMENT_REMAP == 1 +#if DT_SOLOMON_SSD1306FB_0_SEGMENT_REMAP == 1 #define SSD1306_PANEL_SEGMENT_REMAP true #else #define SSD1306_PANEL_SEGMENT_REMAP false #endif -#if DT_SOLOMON_SSD1306FB_0_PANEL_COM_INVDIR == 1 +#if DT_SOLOMON_SSD1306FB_0_COM_INVDIR == 1 #define SSD1306_PANEL_COM_INVDIR true #else #define SSD1306_PANEL_COM_INVDIR false