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, #endif } break; -#ifdef CONFIG_RTC +#if CONFIG_RTC case 'c': /* Real Time Clock display */ *flags |= WPS_REFRESH_DYNAMIC; { 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); #ifdef HAVE_RECORDING static void gui_statusbar_icon_recording_info(struct screen * display); #endif -#ifdef CONFIG_RTC +#if CONFIG_RTC static void gui_statusbar_time(struct screen * display, int hour, int minute); #endif #endif @@ -238,7 +238,7 @@ void gui_statusbar_draw(struct gui_statusbar * bar, bool force_redraw) if(!display->has_disk_led) bar->info.led = led_read(HZ/2); /* delay should match polling interval */ #endif -#ifdef CONFIG_RTC +#if CONFIG_RTC { struct tm* tm = get_time(); bar->info.hour = tm->tm_hour; @@ -323,7 +323,7 @@ void gui_statusbar_draw(struct gui_statusbar * bar, bool force_redraw) if (bar->info.keylockremote) gui_statusbar_icon_lock_remote(display); #endif -#ifdef CONFIG_RTC +#if CONFIG_RTC gui_statusbar_time(display, bar->info.hour, bar->info.minute); #endif /* CONFIG_RTC */ #if (CONFIG_LED == LED_VIRTUAL) || defined(HAVE_REMOTE_LCD) @@ -580,7 +580,7 @@ static void gui_statusbar_led(struct screen * display) } #endif -#ifdef CONFIG_RTC +#if CONFIG_RTC /* * Print time to status bar */ 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 { int volume; int playmode; int repeat; -#ifdef CONFIG_RTC +#if CONFIG_RTC int hour; int minute; #endif |