diff options
author | Joel Challis <git@zvecr.com> | 2022-01-22 21:17:02 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-22 21:17:02 +0000 |
commit | 6e83b449409f7fe479210a9fab808e8bcae64977 (patch) | |
tree | 0429c5a810d39fbd423350566d476fa3f798db27 /keyboards | |
parent | 448a90f6b0b68ef074b1a19a081eceaafcc7425e (diff) |
Align location of some host led logic (#15954)
* Align location of host led logic
* Move more
* align ifdefs
* Fix up includes
* Move callback defs
* Convert comment to build message
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/converter/usb_usb/custom_matrix.cpp | 2 | ||||
-rw-r--r-- | keyboards/sirius/unigo66/custom_matrix.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/converter/usb_usb/custom_matrix.cpp b/keyboards/converter/usb_usb/custom_matrix.cpp index 91986f6eb9..265fb2c68d 100644 --- a/keyboards/converter/usb_usb/custom_matrix.cpp +++ b/keyboards/converter/usb_usb/custom_matrix.cpp @@ -185,7 +185,7 @@ extern "C" // restore LED state when keyboard comes up if (usb_state == USB_STATE_RUNNING) { dprintf("speed: %s\n", usb_host.getVbusState()==FSHOST ? "full" : "low"); - keyboard_set_leds(host_keyboard_leds()); + led_set(host_keyboard_leds()); } } matrix_scan_quantum(); diff --git a/keyboards/sirius/unigo66/custom_matrix.cpp b/keyboards/sirius/unigo66/custom_matrix.cpp index dfcf82c779..955ce189a8 100644 --- a/keyboards/sirius/unigo66/custom_matrix.cpp +++ b/keyboards/sirius/unigo66/custom_matrix.cpp @@ -166,7 +166,7 @@ extern "C" // restore LED state when keyboard comes up if (usb_state == USB_STATE_RUNNING) { dprintf("speed: %s\n", usb_host.getVbusState()==FSHOST ? "full" : "low"); - keyboard_set_leds(host_keyboard_leds()); + led_set(host_keyboard_leds()); } } return 1; |