simple_display: avoid compiler warning

Origin commit data
------------------
Commit: 568d7c3950
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-13 (Mon, 13 Nov 2017)

Origin message was:
------------------
- simple_display: avoid compiler warning
This commit is contained in:
vanhofen
2017-11-13 10:10:45 +01:00
parent 1c8a1e876f
commit 1a678280c5

View File

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