diff options
author | tmk <hasu@tmk-kbd.com> | 2014-11-29 21:12:47 +0900 |
---|---|---|
committer | tmk <hasu@tmk-kbd.com> | 2015-01-15 17:08:48 +0900 |
commit | 570bcb2ed112b3435a09b974c20138f13de6aaaa (patch) | |
tree | 68e1dd3fa5714a626dd025984ad6905c2bb3a19a /keyboard/hhkb_rn42/rn42 | |
parent | 20caf673d8ba7fb7675e2559bfebad6ddb9d6fd0 (diff) | |
download | firmware-570bcb2ed112b3435a09b974c20138f13de6aaaa.tar.gz firmware-570bcb2ed112b3435a09b974c20138f13de6aaaa.tar.bz2 firmware-570bcb2ed112b3435a09b974c20138f13de6aaaa.zip |
Add LUFA device state to command info
Diffstat (limited to 'keyboard/hhkb_rn42/rn42')
-rw-r--r-- | keyboard/hhkb_rn42/rn42/rn42_task.c | 2 |
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()); |