summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire/iriver/h300/adc-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/coldfire/iriver/h300/adc-target.h')
-rw-r--r--firmware/target/coldfire/iriver/h300/adc-target.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/target/coldfire/iriver/h300/adc-target.h b/firmware/target/coldfire/iriver/h300/adc-target.h
index 04200904a2..211a527253 100644
--- a/firmware/target/coldfire/iriver/h300/adc-target.h
+++ b/firmware/target/coldfire/iriver/h300/adc-target.h
@@ -38,4 +38,11 @@
38/* Force a scan now */ 38/* Force a scan now */
39unsigned short adc_scan(int channel); 39unsigned short adc_scan(int channel);
40 40
41static inline unsigned short adc_read(int channel)
42{
43 return adc_scan(channel);
44}
45static inline void adc_init(void)
46{}
47
41#endif /* _ADC_TARGET_H_ */ 48#endif /* _ADC_TARGET_H_ */