From c6380beb4eea5037823ca8739b733470578762db Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 7 Aug 2014 20:16:51 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/calibrator.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/calibrator.c') 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 -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++) { -- cgit v1.2.3-70-g09d2