diff options
Diffstat (limited to 'keyboards/rart/rartlice/rartlice.c')
| -rw-r--r-- | keyboards/rart/rartlice/rartlice.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/keyboards/rart/rartlice/rartlice.c b/keyboards/rart/rartlice/rartlice.c index be805da33..a970e9686 100644 --- a/keyboards/rart/rartlice/rartlice.c +++ b/keyboards/rart/rartlice/rartlice.c | |||
| @@ -14,23 +14,3 @@ | |||
| 14 | */ | 14 | */ |
| 15 | 15 | ||
| 16 | #include "rartlice.h" | 16 | #include "rartlice.h" |
| 17 | |||
| 18 | void keyboard_pre_init_kb(void) { | ||
| 19 | led_init_ports(); | ||
| 20 | keyboard_pre_init_user(); | ||
| 21 | } | ||
| 22 | |||
| 23 | void led_init_ports(void) { | ||
| 24 | setPinOutput(A8); | ||
| 25 | setPinOutput(B14); | ||
| 26 | setPinOutput(A9); | ||
| 27 | } | ||
| 28 | |||
| 29 | bool led_update_kb(led_t led_state) { | ||
| 30 | if (led_update_user(led_state)) { | ||
| 31 | writePin(A8, !led_state.num_lock); | ||
| 32 | writePin(B14, !led_state.caps_lock); | ||
| 33 | writePin(A9, !led_state.scroll_lock); | ||
| 34 | } | ||
| 35 | return true; | ||
| 36 | } | ||
