diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2006-03-07 13:15:24 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2006-03-07 13:15:24 +0000 |
commit | 322cb1411582f37b1e8347eff2276afd7d3c8198 (patch) | |
tree | a4c64de459d786966def6d9c7140b88ca36393d9 | |
parent | eed02bebcdc921557bebcc20221c112d41263ffe (diff) | |
download | rockbox-322cb1411582f37b1e8347eff2276afd7d3c8198.tar.gz rockbox-322cb1411582f37b1e8347eff2276afd7d3c8198.zip |
Adapted to compile with lostlogics recent ADC driver changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8946 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-x | firmware/target/coldfire/iaudio/x5/adc-x5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/coldfire/iaudio/x5/adc-x5.c b/firmware/target/coldfire/iaudio/x5/adc-x5.c index c67b8b5c98..e465f38494 100755 --- a/firmware/target/coldfire/iaudio/x5/adc-x5.c +++ b/firmware/target/coldfire/iaudio/x5/adc-x5.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include "adc.h" | 24 | #include "adc.h" |
25 | #include "pcf50606.h" | 25 | #include "pcf50606.h" |
26 | 26 | ||
27 | static unsigned char adcdata[NUM_ADC_CHANNELS]; | 27 | static unsigned short adcdata[NUM_ADC_CHANNELS]; |
28 | 28 | ||
29 | static int channelnum[] = | 29 | static int channelnum[] = |
30 | { | 30 | { |
@@ -33,7 +33,7 @@ static int channelnum[] = | |||
33 | 0, /* ADC_BATTERY (BATVOLT, resistive divider) */ | 33 | 0, /* ADC_BATTERY (BATVOLT, resistive divider) */ |
34 | }; | 34 | }; |
35 | 35 | ||
36 | unsigned char adc_scan(int channel) | 36 | unsigned short adc_scan(int channel) |
37 | { | 37 | { |
38 | unsigned char data; | 38 | unsigned char data; |
39 | 39 | ||