summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
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