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

@ -82,7 +82,7 @@ void set_led_state(int ledId, bool state) {
}
}
void led_init_ports() {
void led_init_ports_user() {
PORTB |= (1 << 7);
DDRB &= ~(1<<7);
@ -106,7 +106,7 @@ void led_set_layer(int layer) {
}
void matrix_init_user(void) {
led_init_ports();
led_init_ports_user();
led_set_layer(1);