mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
simple_display.cpp: partial revert "fix generic build"
This reverts commit c7c52324a3
.
hd51 build was broken with -Werror=unused-variable
This commit is contained in:
@@ -348,7 +348,9 @@ void CLCD::showTime(bool force)
|
||||
if (force || last_display || (hour != t->tm_hour) || (minute != t->tm_min)) {
|
||||
hour = t->tm_hour;
|
||||
minute = t->tm_min;
|
||||
#if !HAVE_SPARK_HARDWARE && !HAVE_ARM_HARDWARE
|
||||
int ret = -1;
|
||||
#endif
|
||||
#if HAVE_SPARK_HARDWARE
|
||||
now += t->tm_gmtoff;
|
||||
int fd = dev_open();
|
||||
|
Reference in New Issue
Block a user