summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx/onda_vx767
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2018-10-09 22:29:28 -0400
committerSolomon Peachy <pizza@shaftnet.org>2018-10-09 22:35:37 -0400
commitd2cef81bba743cc7ee209bddf81f1c1e97387250 (patch)
treedb853303dfaca22e300f28f888d7a7a91f88f2c1 /firmware/target/mips/ingenic_jz47xx/onda_vx767
parent53d72a8be1932a91e138920885a9e36c752460e0 (diff)
downloadrockbox-d2cef81bba743cc7ee209bddf81f1c1e97387250.tar.gz
rockbox-d2cef81bba743cc7ee209bddf81f1c1e97387250.tar.bz2
rockbox-d2cef81bba743cc7ee209bddf81f1c1e97387250.zip
mips: fix some compile warnings.
Change-Id: Ia5e83702313c1c184480290d3b0e6a66f01b7277
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/onda_vx767')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/onda_vx767/sadc-onda_vx767.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/onda_vx767/sadc-onda_vx767.c b/firmware/target/mips/ingenic_jz47xx/onda_vx767/sadc-onda_vx767.c
index 710da6b729..ca9a0e617d 100644
--- a/firmware/target/mips/ingenic_jz47xx/onda_vx767/sadc-onda_vx767.c
+++ b/firmware/target/mips/ingenic_jz47xx/onda_vx767/sadc-onda_vx767.c
@@ -75,7 +75,8 @@ int _battery_voltage(void)
dummy = REG_SADC_BATDAT;
dummy = REG_SADC_BATDAT;
-
+ (void)dummy;
+
REG_SADC_ENA |= SADC_ENA_PBATEN;
bat_val = 0;