diff options
Diffstat (limited to 'keyboards/projectkb/alice/alice.c')
| -rw-r--r-- | keyboards/projectkb/alice/alice.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/projectkb/alice/alice.c b/keyboards/projectkb/alice/alice.c index ca0c7da2b..b82e2050e 100644 --- a/keyboards/projectkb/alice/alice.c +++ b/keyboards/projectkb/alice/alice.c | |||
| @@ -1,17 +1,17 @@ | |||
| 1 | #include "alice.h" | 1 | #include "alice.h" |
| 2 | 2 | ||
| 3 | void matrix_init_board(void){ | 3 | void matrix_init_board(void){ |
| 4 | setPinOutput(A0); | 4 | setPinOutput(INDICATOR_PIN_0); |
| 5 | setPinOutput(A1); | 5 | setPinOutput(INDICATOR_PIN_1); |
| 6 | setPinOutput(A2); | 6 | setPinOutput(INDICATOR_PIN_2); |
| 7 | } | 7 | } |
| 8 | 8 | ||
| 9 | bool led_update_kb(led_t led_state) { | 9 | bool led_update_kb(led_t led_state) { |
| 10 | bool runDefault = led_update_user(led_state); | 10 | bool runDefault = led_update_user(led_state); |
| 11 | if (runDefault) { | 11 | if (runDefault) { |
| 12 | writePin(A0, !led_state.num_lock); | 12 | writePin(INDICATOR_PIN_0, !led_state.num_lock); |
| 13 | writePin(A1, !led_state.caps_lock); | 13 | writePin(INDICATOR_PIN_1, !led_state.caps_lock); |
| 14 | writePin(A2, !led_state.scroll_lock); | 14 | writePin(INDICATOR_PIN_2, !led_state.scroll_lock); |
| 15 | } | 15 | } |
| 16 | return runDefault; | 16 | return runDefault; |
| 17 | } | 17 | } |
