diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2011-09-06 12:38:59 +0000 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2011-09-06 12:38:59 +0000 |
commit | 4e6daf085692e4729aa1f70f27b1b04e704a864f (patch) | |
tree | 609fbfb9da0aafc1f4306505d0ea1bfaf45a4498 /firmware/target/arm/rk27xx/adc-rk27xx.c | |
parent | 7aca544793fb8523a1826bc6e8102a024a05f40f (diff) |
rk27xx adc - fix function name
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30450 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/rk27xx/adc-rk27xx.c')
-rw-r--r-- | firmware/target/arm/rk27xx/adc-rk27xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/rk27xx/adc-rk27xx.c b/firmware/target/arm/rk27xx/adc-rk27xx.c index 524cf4d166..3a2f7970c1 100644 --- a/firmware/target/arm/rk27xx/adc-rk27xx.c +++ b/firmware/target/arm/rk27xx/adc-rk27xx.c @@ -26,7 +26,7 @@ #include "thread.h" #include "adc.h" -unsigned int adc_scan(int channel) +unsigned short adc_read(int channel) { ADC_CTRL = (1<<4)|(1<<3) | (channel & (NUM_ADC_CHANNELS - 1)); |