diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2014-09-29 01:10:35 +0200 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2014-09-29 01:10:35 +0200 |
commit | 7c20d8f686992f0de2c7bf1db9339026f01a07ee (patch) | |
tree | 125dabe54d3a7a847672360af5812a060bd85c1a | |
parent | 4991544037274817d69b0b57e8bf5be282a0ea41 (diff) |
Fix compilation on amsv1.
Change-Id: Ie8fb5cacacd6f875c7b0063fdea1c1865941f1bd
-rw-r--r-- | firmware/target/arm/as3525/debug-as3525.c | 2 |
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: return false; } +#if CONFIG_CPU == AS3525v2 void adc_set_voltage_mux(int channel) { ascodec_lock(); @@ -444,6 +445,7 @@ void adc_set_voltage_mux(int channel) ascodec_write(AS3543_PMU_ENABLE, 8 | channel << 4 ); ascodec_unlock(); } +#endif bool dbg_ports(void) { |