summaryrefslogtreecommitdiffstats
path: root/apps/menus
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2018-04-10 13:26:56 +0200
committerMarcin Bukat <marcin.bukat@gmail.com>2018-06-12 10:31:15 +0200
commitfbaa97496f9717d7cf45456c47ce3e271da29e28 (patch)
tree77efdc05962018111ead6edca70e49c0cf8a5797 /apps/menus
parent937589ca3a0a9aad62f7f181c9256244a6d2f418 (diff)
downloadrockbox-fbaa97496f9717d7cf45456c47ce3e271da29e28.tar.gz
rockbox-fbaa97496f9717d7cf45456c47ce3e271da29e28.tar.bz2
rockbox-fbaa97496f9717d7cf45456c47ce3e271da29e28.zip
Agptek Rocker: Implement RTC support
Add define in config file to enable RTC support in rockbox, Fix time_menu.c to include radio.h only when tuner is present Implement time setting function on linux (was empty stub) Not tested. Change-Id: I40e6c4a6c1b66ada9cf4e698e502e221d0fc44df
Diffstat (limited to 'apps/menus')
-rw-r--r--apps/menus/time_menu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/menus/time_menu.c b/apps/menus/time_menu.c
index 9ef4f7323c..a6885a3dbc 100644
--- a/apps/menus/time_menu.c
+++ b/apps/menus/time_menu.c
@@ -37,7 +37,9 @@
#include "list.h"
#include "alarm_menu.h"
#include "screens.h"
+#if CONFIG_TUNER
#include "radio.h"
+#endif
#include "font.h"
#include "system.h"