1
0
Fork 0

Unconditionally call led_init_ports (#12116)

* Unconditionally call led_init_ports

* Another call to led_init_ports
This commit is contained in:
Joel Challis 2021-08-03 18:34:32 +01:00 committed by GitHub
parent 2bc7511b9e
commit 3f419dc872
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 20 additions and 215 deletions

View file

@ -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