mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
- simple_display: avoid compiler warning
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -554,6 +554,8 @@ void CLCD::setBrightness(int dimm)
|
|||||||
if (pfd)
|
if (pfd)
|
||||||
write(pfd, value.c_str(), value.length());
|
write(pfd, value.c_str(), value.length());
|
||||||
close(pfd);
|
close(pfd);
|
||||||
|
#else
|
||||||
|
(void)dimm; // avoid compiler warning
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user