summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2006-10-27 08:12:18 +0000
committerMichael Sevakis <jethead71@rockbox.org>2006-10-27 08:12:18 +0000
commit2ede2a79e6c44d1c33dec254dd5218f32c8e34ef (patch)
tree17739a00e6bfaf968b5f1bf9ae01cc97ab3fe1f1
parent1d4a9c63666541b9e42b5d197d6afec21eb26b4e (diff)
downloadrockbox-2ede2a79e6c44d1c33dec254dd5218f32c8e34ef.tar.gz
rockbox-2ede2a79e6c44d1c33dec254dd5218f32c8e34ef.tar.bz2
rockbox-2ede2a79e6c44d1c33dec254dd5218f32c8e34ef.zip
Put a couple x5-specific function declarations in adc-target.h where they should be.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11358 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/adc.h7
-rw-r--r--firmware/target/coldfire/iaudio/x5/adc-target.h4
2 files changed, 4 insertions, 7 deletions
diff --git a/firmware/export/adc.h b/firmware/export/adc.h
index 487873dacc..95728d432f 100644
--- a/firmware/export/adc.h
+++ b/firmware/export/adc.h
@@ -105,9 +105,4 @@ void adc_init(void);
unsigned short adc_scan(int channel);
#endif
-#if defined(IAUDIO_X5)
-void adc_enable_button_scan(bool enable);
-bool adc_get_button_scan_enabled(void);
-#endif
-
-#endif
+#endif /* _ADC_H_ */
diff --git a/firmware/target/coldfire/iaudio/x5/adc-target.h b/firmware/target/coldfire/iaudio/x5/adc-target.h
index 5d158056b9..51e853625f 100644
--- a/firmware/target/coldfire/iaudio/x5/adc-target.h
+++ b/firmware/target/coldfire/iaudio/x5/adc-target.h
@@ -28,5 +28,7 @@
/* Force a scan now */
unsigned short adc_scan(int channel);
+void adc_enable_button_scan(bool enable);
+bool adc_get_button_scan_enabled(void);
-#endif
+#endif /* _ADC_TARGET_H_ */