summaryrefslogtreecommitdiff
path: root/drivers/qwiic/micro_oled.h
diff options
context:
space:
mode:
authorNick Winans <nick@winans.codes>2020-02-21 21:11:25 -0600
committerDrashna Jael're <drashna@live.com>2020-03-26 00:42:13 -0700
commit177f5613d8370e612d2f9f3645ea8d1ecf1aecf9 (patch)
tree3e28ebdb1da16b31acdac68f06b2103f9ffc515e /drivers/qwiic/micro_oled.h
parent283b18f3e0e4b56f5abff33934bfce1f7649220f (diff)
Fix QWIIC OLED for AVR (#7769)
* Fix QWIIC OLED for AVR * Change missed width * width to width * height * Fix typo in comment Co-Authored-By: fauxpark <fauxpark@gmail.com> * Fix last incorrect uses of LCDWIDTH Co-authored-by: Ryan <fauxpark@gmail.com> format code according to conventions [skip ci]
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 814143df11..6f9106f581 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;