simple_display: avoid compiler warning

Signed-off-by: Thilo Graf <dbt@novatux.de>


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

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

Signed-off-by: Thilo Graf <dbt@novatux.de>


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-11-13 10:10:45 +01:00
committed by Thilo Graf
parent 85ce840246
commit e247545fb5

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
}