From 91f07992cd856879f0622ca11f16f482dfcc02c1 Mon Sep 17 00:00:00 2001 From: Drath Date: Sat, 13 Sep 2025 23:54:26 +0200 Subject: [PATCH] more consistent quotations and wording --- src/LCDDisplay.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/LCDDisplay.cpp b/src/LCDDisplay.cpp index 79279cb..ac5a3cd 100644 --- a/src/LCDDisplay.cpp +++ b/src/LCDDisplay.cpp @@ -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() {