diff options
Diffstat (limited to 'keyboards/mechlovin/adelais/adelais.c')
| -rw-r--r-- | keyboards/mechlovin/adelais/adelais.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/keyboards/mechlovin/adelais/adelais.c b/keyboards/mechlovin/adelais/adelais.c index da5f68f62..b9df471d3 100644 --- a/keyboards/mechlovin/adelais/adelais.c +++ b/keyboards/mechlovin/adelais/adelais.c | |||
| @@ -15,30 +15,3 @@ | |||
| 15 | */ | 15 | */ |
| 16 | 16 | ||
| 17 | #include "adelais.h" | 17 | #include "adelais.h" |
| 18 | |||
| 19 | void matrix_init_kb(void) { | ||
| 20 | // put your keyboard start-up code here | ||
| 21 | // runs once when the firmware starts up | ||
| 22 | |||
| 23 | matrix_init_user(); | ||
| 24 | led_init_ports(); | ||
| 25 | } | ||
| 26 | |||
| 27 | void led_init_ports(void) { | ||
| 28 | setPinOutput(B2); | ||
| 29 | writePinLow(B2); | ||
| 30 | setPinOutput(C15); | ||
| 31 | writePinLow(C15); | ||
| 32 | setPinOutput(B9); | ||
| 33 | writePinLow(B9); | ||
| 34 | } | ||
| 35 | |||
| 36 | bool led_update_kb(led_t led_state) { | ||
| 37 | if(led_update_user(led_state)) { | ||
| 38 | writePin(B2, led_state.caps_lock); | ||
| 39 | writePin(B9, led_state.scroll_lock); | ||
| 40 | writePin(C15, led_state.num_lock); | ||
| 41 | } | ||
| 42 | |||
| 43 | return true; | ||
| 44 | } | ||
