add some return values to some shit so it shuts down elegantly on crash
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user