summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-07-21 08:42:28 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-07-21 08:42:28 +0000
commited4d7a33bdeba5ce11512ee617398a2840797203 (patch)
tree1027077148ace8e13c8fa49ae3794b2038a2d67a /apps/main.c
parente8818efbe9c814ad3b46ee0e5d0ae250b7c96cf4 (diff)
downloadrockbox-ed4d7a33bdeba5ce11512ee617398a2840797203.tar.gz
rockbox-ed4d7a33bdeba5ce11512ee617398a2840797203.zip
Patch #5347 by Rani Hod - Adds FM radio and recording features to the iAudio X5.
Also includes a rewrite of the Coldfire I2C driver to include both read and write. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10272 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/main.c b/apps/main.c
index 4f31cdb58a..8ee6adfe4f 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -72,7 +72,7 @@
72#else 72#else
73#define pcmbuf_init() 73#define pcmbuf_init()
74#endif 74#endif
75#if (defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)) && !defined(SIMULATOR) 75#if (CONFIG_CODEC == SWCODEC) && defined(HAVE_RECORDING) && !defined(SIMULATOR)
76#include "pcm_record.h" 76#include "pcm_record.h"
77#define SETTINGS_RESET BUTTON_REC 77#define SETTINGS_RESET BUTTON_REC
78#endif 78#endif
@@ -425,7 +425,7 @@ void init(void)
425 talk_init(); 425 talk_init();
426 426
427 audio_init(); 427 audio_init();
428#if (defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)) && !defined(SIMULATOR) 428#if (CONFIG_CODEC == SWCODEC) && defined(HAVE_RECORDING) && !defined(SIMULATOR)
429 pcm_rec_init(); 429 pcm_rec_init();
430#endif 430#endif
431 431