Skip to content

Commit 3e1c6f3

Browse files
authored
Merge pull request #49 from lvgl/fix-ssd1306_orientation
SSD1306: Fix orientation symbol names
2 parents 9fed1cc + 0442ebe commit 3e1c6f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lvgl_tft/ssd1306.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ void ssd1306_init(void)
101101
uint8_t orientation_1 = 0;
102102
uint8_t orientation_2 = 0;
103103

104-
#if defined (CONFIG_LV_DISPLAY_ORIENTATION_LANDSCAPE)
104+
#if defined (CONFIG_DISPLAY_ORIENTATION_LANDSCAPE)
105105
orientation_1 = OLED_CMD_SET_SEGMENT_REMAP;
106106
orientation_2 = OLED_CMD_SET_COM_SCAN_MODE_REMAP;
107-
#elif defined (CONFIG_LV_DISPLAY_ORIENTATION_LANDSCAPE_INVERTED)
107+
#elif defined (CONFIG_DISPLAY_ORIENTATION_LANDSCAPE_INVERTED)
108108
orientation_1 = 0xA0;
109109
orientation_2 = OLED_CMD_SET_COM_SCAN_MODE_NORMAL;
110110
#else

0 commit comments

Comments
 (0)