]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
Add LUFA device state to command info
authortmk <hasu@tmk-kbd.com>
Sat, 29 Nov 2014 12:12:47 +0000 (21:12 +0900)
committertmk <hasu@tmk-kbd.com>
Thu, 15 Jan 2015 08:08:48 +0000 (17:08 +0900)
keyboard/hhkb_rn42/rn42/rn42_task.c

index c3359ed5069dc62c666fe3a851d3bd4d32b0e956..6686268624f269bb7a88286b6e5b72e0e7ce46ec 100644 (file)
@@ -197,6 +197,8 @@ bool command_extra(uint8_t code)
             xprintf("rn42_linked(): %X\n", rn42_linked());
             xprintf("rn42_rts(): %X\n", rn42_rts());
             xprintf("config_mode: %X\n", config_mode);
+            xprintf("USB_DeviceState: %X\n", USB_DeviceState);
+            xprintf("USB_Device_RemoteWakeupEnabled: %X\n", USB_Device_RemoteWakeupEnabled);
             xprintf("VBUS: %X\n", USBSTA&(1<<VBUS));
             xprintf("battery_charging: %X\n", battery_charging());
             xprintf("battery_status: %X\n", battery_status());