its bitchier about unused results now

This commit is contained in:
2026-05-11 09:56:25 +00:00
parent f5ff072c04
commit 53809959cd

View File

@@ -40,7 +40,8 @@ int LCDDisplay::Init() {
// disable underline and block cursor // disable underline and block cursor
constexpr uint8_t cmdbuf[] = {254, 75, 254, 84}; 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 // clear display and set cursor home
this->clear(); this->clear();