summaryrefslogtreecommitdiff
path: root/tmk_core/common/backlight.c
diff options
context:
space:
mode:
authorclimbalima <climbalima@gmail.com>2016-12-10 23:15:47 -0500
committerclimbalima <climbalima@gmail.com>2016-12-10 23:15:47 -0500
commit73d60182969023984ff275117d49a4824c6987d0 (patch)
treefdac811b117c49f78de04c407d4bef76e6df5772 /tmk_core/common/backlight.c
parent56515ba5034e83c598891686cfdc43c186e5d487 (diff)
parent985a091a739c99736d5b17de5161831488dbc219 (diff)
downloadqmk_firmware-73d60182969023984ff275117d49a4824c6987d0.tar.gz
qmk_firmware-73d60182969023984ff275117d49a4824c6987d0.zip
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'tmk_core/common/backlight.c')
-rw-r--r--tmk_core/common/backlight.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/common/backlight.c b/tmk_core/common/backlight.c
index c9e8fd3fd2..0e0ad2d154 100644
--- a/tmk_core/common/backlight.c
+++ b/tmk_core/common/backlight.c
@@ -36,9 +36,9 @@ void backlight_increase(void)
if(backlight_config.level < BACKLIGHT_LEVELS)
{
backlight_config.level++;
- backlight_config.enable = 1;
- eeconfig_update_backlight(backlight_config.raw);
}
+ backlight_config.enable = 1;
+ eeconfig_update_backlight(backlight_config.raw);
dprintf("backlight increase: %u\n", backlight_config.level);
backlight_set(backlight_config.level);
}