diff options
Diffstat (limited to 'keyboards/metamechs/timberwolf/timberwolf.c')
| -rw-r--r-- | keyboards/metamechs/timberwolf/timberwolf.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/keyboards/metamechs/timberwolf/timberwolf.c b/keyboards/metamechs/timberwolf/timberwolf.c index c3fb24924..c9a750f45 100644 --- a/keyboards/metamechs/timberwolf/timberwolf.c +++ b/keyboards/metamechs/timberwolf/timberwolf.c | |||
| @@ -18,10 +18,12 @@ | |||
| 18 | 18 | ||
| 19 | bool led_update_kb(led_t led_state) { | 19 | bool led_update_kb(led_t led_state) { |
| 20 | bool runDefault = led_update_user(led_state); | 20 | bool runDefault = led_update_user(led_state); |
| 21 | if (led_state.caps_lock) { | 21 | if(runDefault) { |
| 22 | backlight_enable(); | 22 | if (led_state.caps_lock) { |
| 23 | } else { | 23 | backlight_level_noeeprom(get_backlight_level()); |
| 24 | backlight_disable(); | 24 | } else { |
| 25 | } | 25 | backlight_set(0); |
| 26 | } | ||
| 27 | } | ||
| 26 | return runDefault; | 28 | return runDefault; |
| 27 | } \ No newline at end of file | 29 | } |
