summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2014-09-29 01:10:35 +0200
committerMichael Giacomelli <giac2000@hotmail.com>2014-09-29 01:10:35 +0200
commit7c20d8f686992f0de2c7bf1db9339026f01a07ee (patch)
tree125dabe54d3a7a847672360af5812a060bd85c1a
parent4991544037274817d69b0b57e8bf5be282a0ea41 (diff)
downloadrockbox-7c20d8f686992f0de2c7bf1db9339026f01a07ee.tar.gz
rockbox-7c20d8f686992f0de2c7bf1db9339026f01a07ee.zip
Fix compilation on amsv1.
Change-Id: Ie8fb5cacacd6f875c7b0063fdea1c1865941f1bd
-rw-r--r--firmware/target/arm/as3525/debug-as3525.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/debug-as3525.c b/firmware/target/arm/as3525/debug-as3525.c
index b8c5d883e9..1ee4de64cc 100644
--- a/firmware/target/arm/as3525/debug-as3525.c
+++ b/firmware/target/arm/as3525/debug-as3525.c
@@ -437,6 +437,7 @@ end:
437 return false; 437 return false;
438} 438}
439 439
440#if CONFIG_CPU == AS3525v2
440void adc_set_voltage_mux(int channel) 441void adc_set_voltage_mux(int channel)
441{ 442{
442 ascodec_lock(); 443 ascodec_lock();
@@ -444,6 +445,7 @@ void adc_set_voltage_mux(int channel)
444 ascodec_write(AS3543_PMU_ENABLE, 8 | channel << 4 ); 445 ascodec_write(AS3543_PMU_ENABLE, 8 | channel << 4 );
445 ascodec_unlock(); 446 ascodec_unlock();
446} 447}
448#endif
447 449
448bool dbg_ports(void) 450bool dbg_ports(void)
449{ 451{