diff --git a/src/LCDDisplay.cpp b/src/LCDDisplay.cpp index e47494d..97f980f 100644 --- a/src/LCDDisplay.cpp +++ b/src/LCDDisplay.cpp @@ -40,7 +40,8 @@ int LCDDisplay::Init() { // disable underline and block cursor constexpr uint8_t cmdbuf[] = {254, 75, 254, 84}; - ::write(lcd, &cmdbuf, sizeof(cmdbuf)); + const ssize_t ret = ::write(lcd, &cmdbuf, sizeof(cmdbuf)); + (void)ret; // clear display and set cursor home this->clear();