Unconditionally call led_init_ports (#12116)
* Unconditionally call led_init_ports * Another call to led_init_ports
This commit is contained in:
parent
2bc7511b9e
commit
3f419dc872
30 changed files with 20 additions and 215 deletions
|
@ -15,27 +15,6 @@
|
|||
*/
|
||||
#include "kmini.h"
|
||||
|
||||
void matrix_init_kb(void) {
|
||||
// put your keyboard start-up code here
|
||||
// runs once when the firmware starts up
|
||||
led_init_ports();
|
||||
matrix_init_user();
|
||||
}
|
||||
|
||||
void matrix_scan_kb(void) {
|
||||
// put your looping keyboard code here
|
||||
// runs every cycle (a lot)
|
||||
|
||||
matrix_scan_user();
|
||||
}
|
||||
|
||||
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
|
||||
// put your per-action keyboard code here
|
||||
// runs for every action, just before processing by the firmware
|
||||
|
||||
return process_record_user(keycode, record);
|
||||
}
|
||||
|
||||
void led_init_ports(void) {
|
||||
DDRB |= (1<<1); // OUT
|
||||
DDRB |= (1<<2); // OUT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue