summaryrefslogtreecommitdiffstats
path: root/firmware/powermgmt.c
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2015-01-11 18:02:43 +0100
committerThomas Jarosch <tomj@simonv.com>2015-01-11 18:02:43 +0100
commitcfbd9cb22fc1499c3b2f8207d72dce4cb388e09f (patch)
tree63944006054f4389ef6b189da42cb01c85100cdd /firmware/powermgmt.c
parent5f5a83e1c9c847a974609e901cf58125f1ef6b84 (diff)
downloadrockbox-cfbd9cb22fc1499c3b2f8207d72dce4cb388e09f.tar.gz
rockbox-cfbd9cb22fc1499c3b2f8207d72dce4cb388e09f.tar.bz2
rockbox-cfbd9cb22fc1499c3b2f8207d72dce4cb388e09f.zip
Make a few local variables static
Change-Id: Ieb77a7f2cdf765afa3121320d03c0478cd97eb0f
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r--firmware/powermgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index 61cf1b34c4..35c5c639f6 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -56,7 +56,7 @@
#endif
/** Shared by sim **/
-int last_sent_battery_level = 100;
+static int last_sent_battery_level = 100;
/* battery level (0-100%) */
int battery_percent = -1;
void send_battery_level_event(void);