1
0

Add LUFA device state to command info

This commit is contained in:
tmk 2014-11-29 21:12:47 +09:00
parent 20caf673d8
commit 570bcb2ed1

View File

@ -197,6 +197,8 @@ bool command_extra(uint8_t code)
xprintf("rn42_linked(): %X\n", rn42_linked()); xprintf("rn42_linked(): %X\n", rn42_linked());
xprintf("rn42_rts(): %X\n", rn42_rts()); xprintf("rn42_rts(): %X\n", rn42_rts());
xprintf("config_mode: %X\n", config_mode); 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("VBUS: %X\n", USBSTA&(1<<VBUS));
xprintf("battery_charging: %X\n", battery_charging()); xprintf("battery_charging: %X\n", battery_charging());
xprintf("battery_status: %X\n", battery_status()); xprintf("battery_status: %X\n", battery_status());