forked from mirrors/qmk_userspace
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>
This commit is contained in:
parent
3157f5f436
commit
d99404388f
2 changed files with 19 additions and 11 deletions
|
@ -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;
|
||||
} commCommand_t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue