2023-04-15 17:07:32 +06:00
|
|
|
#include "quantum.h"
|
2017-02-08 06:55:40 +06:00
|
|
|
|
2022-10-16 01:09:03 +06:00
|
|
|
void led_update_ports(led_t led_state) {
|
|
|
|
if (led_state.caps_lock) {
|
|
|
|
setPinOutput(B2);
|
|
|
|
} else {
|
|
|
|
setPinInput(B2);
|
2017-02-08 06:55:40 +06:00
|
|
|
}
|
2020-11-03 06:55:22 +06:00
|
|
|
}
|