i was never checking the return value of write

This commit is contained in:
Drath Vader
2025-11-27 15:23:17 +01:00
parent 34083f8a01
commit f86d40241e
2 changed files with 12 additions and 10 deletions

View File

@@ -15,7 +15,7 @@ class LCDDisplay {
char writebuf[LCD_LINES * LCD_COLS + 8]; // 4x40 chars + 2x4 setcursor commands
static constexpr bool dualDisp = (LCD_LINES * LCD_COLS > 80); // is it dual display device or not, evauluated from the size at compile time
void open();
void open(bool reopen = false);
void write(const uint8_t* cmdbuf, uint8_t len);
void close();