summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/lradc-imx233.h
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-11-14 21:47:59 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-11-14 21:47:59 +0000
commite7e4b131d06f748400b5299d4d1ebfb38f9f08bf (patch)
tree745994b863c5bd4bfbe9d7c1540730558ada6729 /firmware/target/arm/imx233/lradc-imx233.h
parent9e4299f6f09707fcde3aef7dd9ab3c4e6b843ce1 (diff)
downloadrockbox-e7e4b131d06f748400b5299d4d1ebfb38f9f08bf.tar.gz
rockbox-e7e4b131d06f748400b5299d4d1ebfb38f9f08bf.tar.bz2
rockbox-e7e4b131d06f748400b5299d4d1ebfb38f9f08bf.zip
imx233: fix prototype and battery conversion setup code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30989 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx233/lradc-imx233.h')
-rw-r--r--firmware/target/arm/imx233/lradc-imx233.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/lradc-imx233.h b/firmware/target/arm/imx233/lradc-imx233.h
index fb0085fc74..d79ebe0eff 100644
--- a/firmware/target/arm/imx233/lradc-imx233.h
+++ b/firmware/target/arm/imx233/lradc-imx233.h
@@ -130,7 +130,7 @@ void imx233_lradc_release_delay(int dchan);
* channels must already be configured as nmos and pmos */
int imx233_lradc_sense_die_temperature(int nmos_chan, int pmos_chan);
-void imx233_lradc_setup_battery_conversion(bool automatic, int scale_factor);
+void imx233_lradc_setup_battery_conversion(bool automatic, unsigned long scale_factor);
// read scaled voltage, only available after proper setup
int imx233_lradc_read_battery_voltage(void);