summaryrefslogtreecommitdiff
path: root/apps/recorder/radio.c
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2009-03-21 00:13:20 +0000
committerRob Purchase <shotofadds@rockbox.org>2009-03-21 00:13:20 +0000
commit1a6bcfa2c1545fc66aac40c88dba3a6f804d6227 (patch)
tree11069b2e03848d5e928fa98d7201fb64f75ef389 /apps/recorder/radio.c
parentd63a8fcb7b0f4835a5acdb6c0dcb0783b6d3bba7 (diff)
downloadrockbox-1a6bcfa2c1545fc66aac40c88dba3a6f804d6227.tar.gz
rockbox-1a6bcfa2c1545fc66aac40c88dba3a6f804d6227.zip
D2: Enable FM radio (based on FS#10035 by Michael Burtin with some changes by myself). Also updates the LV24020 driver to add optional logf debugging.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20420 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/radio.c')
-rw-r--r--apps/recorder/radio.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index f3270d1f5d..fe6f277fcb 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -109,6 +109,14 @@
109#elif (CONFIG_KEYPAD == GIGABEAT_S_PAD) 109#elif (CONFIG_KEYPAD == GIGABEAT_S_PAD)
110#define FM_PRESET 110#define FM_PRESET
111#define FM_MODE 111#define FM_MODE
112
113#elif (CONFIG_KEYPAD == COWOND2_PAD)
114#define FM_MENU
115#define FM_PRESET
116#define FM_STOP
117#define FM_MODE
118#define FM_EXIT
119#define FM_PLAY
112#endif 120#endif
113 121
114#define RADIO_SCAN_MODE 0 122#define RADIO_SCAN_MODE 0