From 54028c2b653d0634c1cd6d046a4831ef4936b3b4 Mon Sep 17 00:00:00 2001 From: Kai Ryu Date: Wed, 9 Apr 2014 17:21:09 +0900 Subject: [PATCH] Fix backlight issue for gh60 revB --- keyboard/gh60/backlight.c | 4 ++++ keyboard/gh60/config.h | 8 +------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/keyboard/gh60/backlight.c b/keyboard/gh60/backlight.c index ee5aad9a..91b38c11 100644 --- a/keyboard/gh60/backlight.c +++ b/keyboard/gh60/backlight.c @@ -82,6 +82,8 @@ void backlight_set(uint8_t level) DDRF |= (1<. #define DEBOUNCE 5 /* number of backlight levels */ -#if defined(GH60_REV_CHN) -# define BACKLIGHT_LEVELS 3 -#elif defined(GH60_REV_CNY) -# define BACKLIGHT_LEVELS 3 -#else -# define BACKLIGHT_LEVELS 1 -#endif +#define BACKLIGHT_LEVELS 3 #ifdef GH60_REV_CNY # define LED_MATRIX_ROWS 6