Get rid of USB_LED_CAPS_LOCK (#21436)

This commit is contained in:
Ryan authored and GitHub committed 2023-07-06 09:48:02 +01:00
1 parent 928e03e8d6
commit 87b11345a5
70 files changed
+214 -226

No files matched your search

+3 -2
View File
@@ -39,10 +39,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),
};
void led_set_user(uint8_t usb_led) {
if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
bool led_update_user(led_t led_state) {
if (led_state.caps_lock) {
writePinLow(B1);
} else {
writePinHigh(B1);
}
return false;
}