summaryrefslogtreecommitdiff
path: root/apps/recorder/peakmeter.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-04-20 10:24:15 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-04-20 10:24:15 +0000
commitdb2d61f4eab4adc099abeaafa5e6f97d75f92824 (patch)
tree5446b007aafb5d26a622a9d40e5be3e5ecebafa4 /apps/recorder/peakmeter.c
parent8924686224eef5672bb3087e0ed358b745d603d1 (diff)
Killed unnecessary global variables by making them static.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17184 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/peakmeter.c')
-rw-r--r--apps/recorder/peakmeter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/recorder/peakmeter.c b/apps/recorder/peakmeter.c
index fb2e465006..3e85fd5509 100644
--- a/apps/recorder/peakmeter.c
+++ b/apps/recorder/peakmeter.c
@@ -82,8 +82,8 @@ bool peak_meter_enabled = true;
/** Parameters **/
/* Range */
-unsigned short peak_meter_range_min; /* minimum of range in samples */
-unsigned short peak_meter_range_max; /* maximum of range in samples */
+static unsigned short peak_meter_range_min; /* minimum of range in samples */
+static unsigned short peak_meter_range_max; /* maximum of range in samples */
static unsigned short pm_range; /* range width in samples */
static bool pm_use_dbfs = true; /* true if peakmeter displays dBfs */
static bool level_check; /* true if peeked at peakmeter before drawing */