- simple_display: avoid compiler warning

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-11-13 10:10:45 +01:00
committed by Thilo Graf
parent f7c0cd69d1
commit a0a76fe77a

View File

@@ -554,6 +554,8 @@ void CLCD::setBrightness(int dimm)
if (pfd)
write(pfd, value.c_str(), value.length());
close(pfd);
#else
(void)dimm; // avoid compiler warning
#endif
}