Add rn42_lined(): connection status(GPIO2)

This commit is contained in:
tmk 2014-07-23 12:23:00 +09:00
parent 3e7875455e
commit 4b2b32a14b
3 changed files with 8 additions and 0 deletions

View file

@ -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; }