diff options
-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: | |||
437 | return false; | 437 | return false; |
438 | } | 438 | } |
439 | 439 | ||
440 | #if CONFIG_CPU == AS3525v2 | ||
440 | void adc_set_voltage_mux(int channel) | 441 | void 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 | ||
448 | bool dbg_ports(void) | 450 | bool dbg_ports(void) |
449 | { | 451 | { |