1
0
Fork 0
forked from len0rd/rockbox

Fix compilation on amsv1.

Change-Id: Ie8fb5cacacd6f875c7b0063fdea1c1865941f1bd
This commit is contained in:
Michael Giacomelli 2014-09-29 01:10:35 +02:00
parent 4991544037
commit 7c20d8f686

View file

@ -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)
{