simple_display: avoid compiler warning

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

Origin message was:
------------------
- simple_display: avoid compiler warning

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-11-13 10:10:45 +01:00
parent d6059ccabe
commit c9a1395a1f

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
}