Unconditionally call led_init_ports (#12116)
* Unconditionally call led_init_ports * Another call to led_init_ports
This commit is contained in:
@@ -270,7 +270,7 @@ void led_set_layer(int layer) {
|
||||
/*
|
||||
* Prepare all LED ports for output
|
||||
*/
|
||||
void led_init_ports() {
|
||||
void led_init_ports_user() {
|
||||
setPinOutput(D7); // Switch 1 LED
|
||||
setPinOutput(C6); // Switch 2 LED Pin1
|
||||
setPinOutput(C7); // Switch 2 LED Pin2
|
||||
@@ -291,7 +291,7 @@ layer_state_t layer_state_set_user(layer_state_t state) {
|
||||
}
|
||||
|
||||
void matrix_init_user(void) {
|
||||
led_init_ports();
|
||||
led_init_ports_user();
|
||||
led_init_animation();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user