more consistent quotations and wording

This commit is contained in:
Drath
2025-09-13 23:54:26 +02:00
parent e8dc798e26
commit 91f07992cd

View File

@@ -11,13 +11,12 @@
/* lcd size hardcoded to 4x40 idgaf */
LCDDisplay::LCDDisplay(std::string dev, uint32_t baud) {
std::println("[LCDDisplay] Opening LCD at {}", dev);
std::println("[LCDDisplay] Opening LCD at \"{}\"", dev);
struct termios term;
int lcd = open(dev.c_str(), O_RDWR | O_NOCTTY | O_NONBLOCK);
// handle errors
if (lcd < 0) {
std::println("[LCDDisplay] Error opening serial port {}", dev); // err
std::println("[LCDDisplay] Error opening serial port \"{}\"", dev); // err
exit(lcd);
}
@@ -33,8 +32,8 @@ LCDDisplay::LCDDisplay(std::string dev, uint32_t baud) {
}
LCDDisplay::~LCDDisplay() {
std::println("[LCDDisplay] Closing LCD port");
close(_lcd);
std::println("[LCDDisplay] LCD port closed");
}
void LCDDisplay::clear() {