X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=sidebyside;f=converter%2Fusb_usb%2Fusb_usb.cpp;h=be690ffc55118681f5d1436c26ea1bdbaa381f71;hb=d21cd993ca0c457776e7d25969e0f71f2089ec7f;hp=26721de0a5e2f9a63e9fd02c3dc6829262a52d4a;hpb=51326077b085ad5c82cb0ea7c63405364c052cd5;p=max%2Ftmk_keyboard.git diff --git a/converter/usb_usb/usb_usb.cpp b/converter/usb_usb/usb_usb.cpp index 26721de0..be690ffc 100644 --- a/converter/usb_usb/usb_usb.cpp +++ b/converter/usb_usb/usb_usb.cpp @@ -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()); } }