aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/qwiic/micro_oled.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/qwiic/micro_oled.h')
-rw-r--r--drivers/qwiic/micro_oled.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/qwiic/micro_oled.h b/drivers/qwiic/micro_oled.h
index 814143df1..6f9106f58 100644
--- a/drivers/qwiic/micro_oled.h
+++ b/drivers/qwiic/micro_oled.h
@@ -63,7 +63,7 @@ void draw_string(uint8_t x, uint8_t y, char* string, uint8_t color, uint8_t mode
#ifndef LCDWIDTH
# define LCDWIDTH 64
#endif
-#ifndef LCDWIDTH
+#ifndef LCDHEIGHT
# define LCDHEIGHT 48
#endif
#define FONTHEADERSIZE 6
@@ -131,4 +131,4 @@ typedef enum CMD {
CMD_GETLCDHEIGHT, // 16
CMD_SETCOLOR, // 17
CMD_SETDRAWMODE // 18
-} commCommand_t; \ No newline at end of file
+} commCommand_t;