diff options
author | Joel Challis <git@zvecr.com> | 2021-08-03 18:34:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-03 18:34:32 +0100 |
commit | 3f419dc872d3ab61d129c644e114f62fd738e9d6 (patch) | |
tree | 51beaff9f09d19130ca4f504bef512f776512f03 /keyboards/kmini/kmini.c | |
parent | 2bc7511b9e045c56e611c8c4f091ce00bc799772 (diff) | |
download | qmk_firmware-3f419dc872d3ab61d129c644e114f62fd738e9d6.tar.gz qmk_firmware-3f419dc872d3ab61d129c644e114f62fd738e9d6.zip |
Unconditionally call led_init_ports (#12116)
* Unconditionally call led_init_ports
* Another call to led_init_ports
Diffstat (limited to 'keyboards/kmini/kmini.c')
-rwxr-xr-x | keyboards/kmini/kmini.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/keyboards/kmini/kmini.c b/keyboards/kmini/kmini.c index f67231871..cd8cd68a9 100755 --- a/keyboards/kmini/kmini.c +++ b/keyboards/kmini/kmini.c | |||
@@ -15,27 +15,6 @@ | |||
15 | */ | 15 | */ |
16 | #include "kmini.h" | 16 | #include "kmini.h" |
17 | 17 | ||
18 | void matrix_init_kb(void) { | ||
19 | // put your keyboard start-up code here | ||
20 | // runs once when the firmware starts up | ||
21 | led_init_ports(); | ||
22 | matrix_init_user(); | ||
23 | } | ||
24 | |||
25 | void matrix_scan_kb(void) { | ||
26 | // put your looping keyboard code here | ||
27 | // runs every cycle (a lot) | ||
28 | |||
29 | matrix_scan_user(); | ||
30 | } | ||
31 | |||
32 | bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
33 | // put your per-action keyboard code here | ||
34 | // runs for every action, just before processing by the firmware | ||
35 | |||
36 | return process_record_user(keycode, record); | ||
37 | } | ||
38 | |||
39 | void led_init_ports(void) { | 18 | void led_init_ports(void) { |
40 | DDRB |= (1<<1); // OUT | 19 | DDRB |= (1<<1); // OUT |
41 | DDRB |= (1<<2); // OUT | 20 | DDRB |= (1<<2); // OUT |