summaryrefslogtreecommitdiff
path: root/firmware/target/sh
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/target/sh
parent5f5a83e1c9c847a974609e901cf58125f1ef6b84 (diff)
Make a few local variables static
Change-Id: Ieb77a7f2cdf765afa3121320d03c0478cd97eb0f
Diffstat (limited to 'firmware/target/sh')
-rw-r--r--firmware/target/sh/archos/recorder/powermgmt-recorder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/sh/archos/recorder/powermgmt-recorder.c b/firmware/target/sh/archos/recorder/powermgmt-recorder.c
index 1e78b8d155..ca6067a4cc 100644
--- a/firmware/target/sh/archos/recorder/powermgmt-recorder.c
+++ b/firmware/target/sh/archos/recorder/powermgmt-recorder.c
@@ -85,8 +85,8 @@ static int wrcount = 0;
*/
int long_delta; /* long term delta battery voltage */
int short_delta; /* short term delta battery voltage */
-bool disk_activity_last_cycle = false; /* flag set to aid charger time
- * calculation */
+static bool disk_activity_last_cycle = false; /* flag set to aid charger time
+ * calculation */
char power_message[POWER_MESSAGE_LEN] = ""; /* message that's shown in
debug menu */
/* percentage at which charging