forked from len0rd/rockbox
Fix compilation on amsv1.
Change-Id: Ie8fb5cacacd6f875c7b0063fdea1c1865941f1bd
This commit is contained in:
parent
4991544037
commit
7c20d8f686
1 changed files with 2 additions and 0 deletions
|
@ -437,6 +437,7 @@ end:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if CONFIG_CPU == AS3525v2
|
||||||
void adc_set_voltage_mux(int channel)
|
void adc_set_voltage_mux(int channel)
|
||||||
{
|
{
|
||||||
ascodec_lock();
|
ascodec_lock();
|
||||||
|
@ -444,6 +445,7 @@ void adc_set_voltage_mux(int channel)
|
||||||
ascodec_write(AS3543_PMU_ENABLE, 8 | channel << 4 );
|
ascodec_write(AS3543_PMU_ENABLE, 8 | channel << 4 );
|
||||||
ascodec_unlock();
|
ascodec_unlock();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
bool dbg_ports(void)
|
bool dbg_ports(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue