diff options
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/gwps-common.c | 2 | ||||
-rw-r--r-- | apps/gui/statusbar.c | 8 | ||||
-rw-r--r-- | apps/gui/statusbar.h | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index 24ecd8b051..16dfe59ff2 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c | |||
@@ -970,7 +970,7 @@ static char* get_tag(struct wps_data* wps_data, | |||
970 | #endif | 970 | #endif |
971 | } | 971 | } |
972 | break; | 972 | break; |
973 | #ifdef CONFIG_RTC | 973 | #if CONFIG_RTC |
974 | case 'c': /* Real Time Clock display */ | 974 | case 'c': /* Real Time Clock display */ |
975 | *flags |= WPS_REFRESH_DYNAMIC; | 975 | *flags |= WPS_REFRESH_DYNAMIC; |
976 | { | 976 | { |
diff --git a/apps/gui/statusbar.c b/apps/gui/statusbar.c index fbd8943315..e93fc9649e 100644 --- a/apps/gui/statusbar.c +++ b/apps/gui/statusbar.c | |||
@@ -141,7 +141,7 @@ static void gui_statusbar_led(struct screen * display); | |||
141 | #ifdef HAVE_RECORDING | 141 | #ifdef HAVE_RECORDING |
142 | static void gui_statusbar_icon_recording_info(struct screen * display); | 142 | static void gui_statusbar_icon_recording_info(struct screen * display); |
143 | #endif | 143 | #endif |
144 | #ifdef CONFIG_RTC | 144 | #if CONFIG_RTC |
145 | static void gui_statusbar_time(struct screen * display, int hour, int minute); | 145 | static void gui_statusbar_time(struct screen * display, int hour, int minute); |
146 | #endif | 146 | #endif |
147 | #endif | 147 | #endif |
@@ -238,7 +238,7 @@ void gui_statusbar_draw(struct gui_statusbar * bar, bool force_redraw) | |||
238 | if(!display->has_disk_led) | 238 | if(!display->has_disk_led) |
239 | bar->info.led = led_read(HZ/2); /* delay should match polling interval */ | 239 | bar->info.led = led_read(HZ/2); /* delay should match polling interval */ |
240 | #endif | 240 | #endif |
241 | #ifdef CONFIG_RTC | 241 | #if CONFIG_RTC |
242 | { | 242 | { |
243 | struct tm* tm = get_time(); | 243 | struct tm* tm = get_time(); |
244 | bar->info.hour = tm->tm_hour; | 244 | bar->info.hour = tm->tm_hour; |
@@ -323,7 +323,7 @@ void gui_statusbar_draw(struct gui_statusbar * bar, bool force_redraw) | |||
323 | if (bar->info.keylockremote) | 323 | if (bar->info.keylockremote) |
324 | gui_statusbar_icon_lock_remote(display); | 324 | gui_statusbar_icon_lock_remote(display); |
325 | #endif | 325 | #endif |
326 | #ifdef CONFIG_RTC | 326 | #if CONFIG_RTC |
327 | gui_statusbar_time(display, bar->info.hour, bar->info.minute); | 327 | gui_statusbar_time(display, bar->info.hour, bar->info.minute); |
328 | #endif /* CONFIG_RTC */ | 328 | #endif /* CONFIG_RTC */ |
329 | #if (CONFIG_LED == LED_VIRTUAL) || defined(HAVE_REMOTE_LCD) | 329 | #if (CONFIG_LED == LED_VIRTUAL) || defined(HAVE_REMOTE_LCD) |
@@ -580,7 +580,7 @@ static void gui_statusbar_led(struct screen * display) | |||
580 | } | 580 | } |
581 | #endif | 581 | #endif |
582 | 582 | ||
583 | #ifdef CONFIG_RTC | 583 | #if CONFIG_RTC |
584 | /* | 584 | /* |
585 | * Print time to status bar | 585 | * Print time to status bar |
586 | */ | 586 | */ |
diff --git a/apps/gui/statusbar.h b/apps/gui/statusbar.h index 11b8765b77..21f98336d0 100644 --- a/apps/gui/statusbar.h +++ b/apps/gui/statusbar.h | |||
@@ -33,7 +33,7 @@ struct status_info { | |||
33 | int volume; | 33 | int volume; |
34 | int playmode; | 34 | int playmode; |
35 | int repeat; | 35 | int repeat; |
36 | #ifdef CONFIG_RTC | 36 | #if CONFIG_RTC |
37 | int hour; | 37 | int hour; |
38 | int minute; | 38 | int minute; |
39 | #endif | 39 | #endif |