aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-07 20:16:51 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-07 20:16:51 +0200
commitc6380beb4eea5037823ca8739b733470578762db (patch)
treeb97df46eddb0e0d3b24004a605440a175c1f63ea
parentm (diff)
downloadcrt-calibrator-c6380beb4eea5037823ca8739b733470578762db.tar.gz
crt-calibrator-c6380beb4eea5037823ca8739b733470578762db.tar.bz2
crt-calibrator-c6380beb4eea5037823ca8739b733470578762db.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/calibrator.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/calibrator.c b/src/calibrator.c
index f7198bd..e978ccf 100644
--- a/src/calibrator.c
+++ b/src/calibrator.c
@@ -24,15 +24,14 @@
#include <stdio.h>
-static const int CONTRAST_BRIGHTNESS_LEVELS[21] =
- {
- 0, 17, 27, 38, 48, 59, 70, 82, 94, 106, 119, 131,
- 144, 158, 171, 185, 198, 212, 226, 241, 255
- };
-
static int draw_contrast_brightness(void)
{
+ const int CONTRAST_BRIGHTNESS_LEVELS[21] =
+ {
+ 0, 17, 27, 38, 48, 59, 70, 82, 94, 106, 119, 131,
+ 144, 158, 171, 185, 198, 212, 226, 241, 255
+ };
size_t f, y, x, fn = fb_count();
for (f = 0; f < fn; f++)
{