diff options
author | Thomas Jarosch <tomj@simonv.com> | 2015-01-11 18:02:43 +0100 |
---|---|---|
committer | Thomas Jarosch <tomj@simonv.com> | 2015-01-11 18:02:43 +0100 |
commit | cfbd9cb22fc1499c3b2f8207d72dce4cb388e09f (patch) | |
tree | 63944006054f4389ef6b189da42cb01c85100cdd /firmware/powermgmt.c | |
parent | 5f5a83e1c9c847a974609e901cf58125f1ef6b84 (diff) | |
download | rockbox-cfbd9cb22fc1499c3b2f8207d72dce4cb388e09f.tar.gz rockbox-cfbd9cb22fc1499c3b2f8207d72dce4cb388e09f.zip |
Make a few local variables static
Change-Id: Ieb77a7f2cdf765afa3121320d03c0478cd97eb0f
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r-- | firmware/powermgmt.c | 2 |
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 @@ | |||
56 | #endif | 56 | #endif |
57 | 57 | ||
58 | /** Shared by sim **/ | 58 | /** Shared by sim **/ |
59 | int last_sent_battery_level = 100; | 59 | static int last_sent_battery_level = 100; |
60 | /* battery level (0-100%) */ | 60 | /* battery level (0-100%) */ |
61 | int battery_percent = -1; | 61 | int battery_percent = -1; |
62 | void send_battery_level_event(void); | 62 | void send_battery_level_event(void); |