aboutsummaryrefslogtreecommitdiff
path: root/common/action.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/action.c')
-rw-r--r--common/action.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/action.c b/common/action.c
index e6938f5a2..fddb97c50 100644
--- a/common/action.c
+++ b/common/action.c
@@ -294,7 +294,7 @@ void process_action(keyrecord_t *record)
294#ifdef BACKLIGHT_ENABLE 294#ifdef BACKLIGHT_ENABLE
295 case ACT_BACKLIGHT: 295 case ACT_BACKLIGHT:
296 if (!event.pressed) { 296 if (!event.pressed) {
297 switch (action.backlight.id) { 297 switch (action.backlight.opt) {
298 case BACKLIGHT_INCREASE: 298 case BACKLIGHT_INCREASE:
299 backlight_increase(); 299 backlight_increase();
300 break; 300 break;
@@ -307,6 +307,9 @@ void process_action(keyrecord_t *record)
307 case BACKLIGHT_STEP: 307 case BACKLIGHT_STEP:
308 backlight_step(); 308 backlight_step();
309 break; 309 break;
310 case BACKLIGHT_LEVEL:
311 backlight_level(action.backlight.level);
312 break;
310 } 313 }
311 } 314 }
312 break; 315 break;