usb_usb: Add Makefiles
This commit is contained in:
parent
3eae475f8b
commit
a38dd9dda5
4 changed files with 16 additions and 0 deletions
|
|
@ -160,6 +160,7 @@ uint8_t matrix_scan(void) {
|
|||
|
||||
// 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());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue