summaryrefslogtreecommitdiff
path: root/keyboard/hhkb_rn42/rn42/rn42.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/hhkb_rn42/rn42/rn42.c')
-rw-r--r--keyboard/hhkb_rn42/rn42/rn42.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/keyboard/hhkb_rn42/rn42/rn42.c b/keyboard/hhkb_rn42/rn42/rn42.c
index 3fcd64ad6a..e7d8ba45cc 100644
--- a/keyboard/hhkb_rn42/rn42/rn42.c
+++ b/keyboard/hhkb_rn42/rn42/rn42.c
@@ -86,6 +86,11 @@ void rn42_cts_lo(void)
PORTD &= ~(1<<5);
}
+bool rn42_linked(void)
+{
+ return PINF&(1<<6);
+}
+
static uint8_t keyboard_leds(void) { return 0; }