diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2010-07-31 13:01:52 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-07-31 13:01:52 +0000 |
commit | 38e0918eb5822e3f7b36cc88606f61c99003d82f (patch) | |
tree | ce6a6eb0f579c460ba8d278edc55876af052d60a /firmware/drivers/audio/tlv320.c | |
parent | d7cb3b13fbb0f6ccec0bfabd3b618b2b9b8a870d (diff) | |
download | rockbox-38e0918eb5822e3f7b36cc88606f61c99003d82f.tar.gz rockbox-38e0918eb5822e3f7b36cc88606f61c99003d82f.zip |
Fix condition for compiling audiohw_set_monitor (should fix red)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27638 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/audio/tlv320.c')
-rw-r--r-- | firmware/drivers/audio/tlv320.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/drivers/audio/tlv320.c b/firmware/drivers/audio/tlv320.c index dc19023521..6b96ed212f 100644 --- a/firmware/drivers/audio/tlv320.c +++ b/firmware/drivers/audio/tlv320.c | |||
@@ -305,7 +305,6 @@ void audiohw_disable_recording(void) | |||
305 | tlv320_write_reg(REG_PC, value_pc); | 305 | tlv320_write_reg(REG_PC, value_pc); |
306 | } | 306 | } |
307 | 307 | ||
308 | #ifdef HAVE_FMRADIO_IN | ||
309 | void audiohw_set_monitor(bool enable) | 308 | void audiohw_set_monitor(bool enable) |
310 | { | 309 | { |
311 | unsigned value_aap, value_pc; | 310 | unsigned value_aap, value_pc; |
@@ -325,6 +324,5 @@ void audiohw_set_monitor(bool enable) | |||
325 | tlv320_write_reg(REG_AAP, value_aap); | 324 | tlv320_write_reg(REG_AAP, value_aap); |
326 | tlv320_write_reg(REG_PC, value_pc); | 325 | tlv320_write_reg(REG_PC, value_pc); |
327 | } | 326 | } |
328 | #endif /* HAVE_FMRADIO_IN */ | ||
329 | #endif /* HAVE_RECORDING */ | 327 | #endif /* HAVE_RECORDING */ |
330 | 328 | ||