summaryrefslogtreecommitdiffstats
path: root/keyboard/hhkb_rn42/rn42/rn42_task.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2014-07-23 12:23:00 +0900
committertmk <nobody@nowhere>2014-07-30 14:38:26 +0900
commit4b2b32a14b805a363c5dc035a2d1384e60865ad3 (patch)
tree1ffefa89e3180b684e5662bc43f8bb53eefac9cc /keyboard/hhkb_rn42/rn42/rn42_task.c
parent3e7875455ed392ce5238efa0734e82995e1f8040 (diff)
Add rn42_lined(): connection status(GPIO2)
Diffstat (limited to 'keyboard/hhkb_rn42/rn42/rn42_task.c')
-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 2bc1c7fd04..437dd46f49 100644
--- a/keyboard/hhkb_rn42/rn42/rn42_task.c
+++ b/keyboard/hhkb_rn42/rn42/rn42_task.c
@@ -162,8 +162,10 @@ bool command_extra(uint8_t code)
xprintf("protocol: %s\n", (host_get_driver() == &rn42_driver) ? "RN-42" : "LUFA");
xprintf("force_usb: %X\n", force_usb);
xprintf("rn42_autoconnecting(): %X\n", rn42_autoconnecting());
+ xprintf("rn42_linked(): %X\n", rn42_linked());
xprintf("rn42_rts(): %X\n", rn42_rts());
xprintf("config_mode: %X\n", config_mode);
+ xprintf("VBUS: %X\n", USBSTA&(1<<VBUS));
return true;
case KC_B:
// battery monitor