add some return values to some shit so it shuts down elegantly on crash

This commit is contained in:
2026-01-15 00:24:44 +01:00
parent 7929a687e8
commit e85f3894a3
2 changed files with 18 additions and 18 deletions

View File

@@ -10,9 +10,9 @@
class LCDDisplay {
private:
int _lcd = -1;
uint32_t _baud = 0;
std::string _dev;
int lcd = -1;
uint32_t baud = 0;
std::string dev;
std::array<char, LCD_LINES * LCD_COLS + 8> writebuf{}; // 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