just have default baud in hpp file

This commit is contained in:
Drath
2025-07-03 01:08:23 +02:00
parent 3421b03973
commit 394ccb0115
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ class LCDDisplay {
void writeStr(std::string str);
public:
LCDDisplay(std::string dev, uint32_t baud);
LCDDisplay(std::string dev, uint32_t baud = 0010002); // from termios-baud.h, B115200
~LCDDisplay();
// custom char array

View File

@@ -155,7 +155,7 @@ int main(int argc, char *argv[]) {
daemon_mode = (argc > 1 && std::string(argv[1]) == "-d");
/* init lcd and chars, set contrast and backlight */
LCDDisplay lcd(LCD_PORT, B115200);
LCDDisplay lcd(LCD_PORT);
std::array<std::string, 4> lines;
lcd.setCustomChar(0, {16, 6, 9, 8, 8, 9, 6, 0}); // celcius