diff options
Diffstat (limited to 'keyboards/percent/skog/skog.c')
| -rw-r--r-- | keyboards/percent/skog/skog.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/keyboards/percent/skog/skog.c b/keyboards/percent/skog/skog.c index 241833937..152fc5684 100644 --- a/keyboards/percent/skog/skog.c +++ b/keyboards/percent/skog/skog.c | |||
| @@ -27,14 +27,12 @@ void keyboard_pre_init_kb(void) { | |||
| 27 | void led_init_ports(void) { | 27 | void led_init_ports(void) { |
| 28 | setPinOutput(D1); | 28 | setPinOutput(D1); |
| 29 | setPinOutput(D6); | 29 | setPinOutput(D6); |
| 30 | writePinHigh(D1); | ||
| 31 | writePinHigh(D6); | ||
| 32 | } | 30 | } |
| 33 | 31 | ||
| 34 | bool led_update_kb(led_t led_state) { | 32 | bool led_update_kb(led_t led_state) { |
| 35 | if (led_update_user(led_state)) { | 33 | if (led_update_user(led_state)) { |
| 36 | writePin(D1, !led_state.caps_lock); | 34 | writePin(D1, led_state.caps_lock); |
| 37 | writePin(D6, !led_state.scroll_lock); | 35 | writePin(D6, led_state.scroll_lock); |
| 38 | } | 36 | } |
| 39 | return true; | 37 | return true; |
| 40 | } | 38 | } |
