summaryrefslogtreecommitdiff
path: root/firmware/drivers/power.c
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-10-05 11:17:00 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-10-05 11:17:00 +0000
commit0577dd7b620dca27b96f792a1ce3514d606a647a (patch)
tree29466867aa7f11cf05ed9192f7b6fbf644cb7434 /firmware/drivers/power.c
parentd4945dc0d07b23eced900075e8748ccc7fb3e424 (diff)
downloadrockbox-0577dd7b620dca27b96f792a1ce3514d606a647a.tar.gz
rockbox-0577dd7b620dca27b96f792a1ce3514d606a647a.zip
Fix warnings in player builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11130 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/power.c')
-rw-r--r--firmware/drivers/power.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/drivers/power.c b/firmware/drivers/power.c
index cfe64c965e..af70ac8ef2 100644
--- a/firmware/drivers/power.c
+++ b/firmware/drivers/power.c
@@ -121,6 +121,7 @@ bool charger_inserted(void)
121 return (adc_read(ADC_CHARGE_REGULATOR) < 0x1FF); 121 return (adc_read(ADC_CHARGE_REGULATOR) < 0x1FF);
122#elif defined(TOSHIBA_GIGABEAT_F) 122#elif defined(TOSHIBA_GIGABEAT_F)
123 return false; 123 return false;
124#else
124 /* Player */ 125 /* Player */
125 return (PADR & 1) == 0; 126 return (PADR & 1) == 0;
126#endif 127#endif