aboutsummaryrefslogtreecommitdiffstats
path: root/keyboard
diff options
context:
space:
mode:
authorGravatar tmk <hasu@tmk-kbd.com>2014-11-29 21:12:47 +0900
committerGravatar tmk <hasu@tmk-kbd.com>2015-01-15 17:08:48 +0900
commit570bcb2ed112b3435a09b974c20138f13de6aaaa (patch)
tree68e1dd3fa5714a626dd025984ad6905c2bb3a19a /keyboard
parent20caf673d8ba7fb7675e2559bfebad6ddb9d6fd0 (diff)
downloadqmk_firmware-570bcb2ed112b3435a09b974c20138f13de6aaaa.tar.gz
Add LUFA device state to command info
Diffstat (limited to 'keyboard')
-rw-r--r--keyboard/hhkb_rn42/rn42/rn42_task.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboard/hhkb_rn42/rn42/rn42_task.c b/keyboard/hhkb_rn42/rn42/rn42_task.c
index c3359ed50..668626862 100644
--- a/keyboard/hhkb_rn42/rn42/rn42_task.c
+++ b/keyboard/hhkb_rn42/rn42/rn42_task.c
@@ -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());