diff options
Diffstat (limited to 'firmware/target/coldfire/iriver/h100/adc-target.h')
-rw-r--r-- | firmware/target/coldfire/iriver/h100/adc-target.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/coldfire/iriver/h100/adc-target.h b/firmware/target/coldfire/iriver/h100/adc-target.h index 54e7bc936a..f5161edd68 100644 --- a/firmware/target/coldfire/iriver/h100/adc-target.h +++ b/firmware/target/coldfire/iriver/h100/adc-target.h | |||
@@ -38,4 +38,9 @@ | |||
38 | /* Force a scan now */ | 38 | /* Force a scan now */ |
39 | unsigned short adc_scan(int channel); | 39 | unsigned short adc_scan(int channel); |
40 | 40 | ||
41 | static inline unsigned short adc_read(int channel) | ||
42 | { | ||
43 | return adc_scan(channel); | ||
44 | } | ||
45 | |||
41 | #endif /* _ADC_TARGET_H_ */ | 46 | #endif /* _ADC_TARGET_H_ */ |