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
Failed to generate hash of commit
30 changed files with 20 additions and 215 deletions

View file

@ -130,7 +130,7 @@ void set_layer_led(int layerId) {
}
void matrix_init_user(void) {
led_init_ports();
led_init_ports_user();
PORTB |= (1 << 7);
DDRB &= ~(1<<7);
@ -149,7 +149,7 @@ void matrix_init_user(void) {
void matrix_scan_user(void) {
}
void led_init_ports() {
void led_init_ports_user() {
// led voor switch #1
DDRD |= (1<<7);
PORTD &= ~(1<<7);