From 42c962412b92a0ab4bd26c95f25867c645064bd6 Mon Sep 17 00:00:00 2001 From: tmk Date: Fri, 21 Jun 2013 16:34:39 +0900 Subject: Add LED support to x68k --- protocol/x68k.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'protocol/x68k.c') diff --git a/protocol/x68k.c b/protocol/x68k.c index d17af51cc2..b54e3d9a89 100644 --- a/protocol/x68k.c +++ b/protocol/x68k.c @@ -64,6 +64,12 @@ uint8_t x68k_recv(void) return data; } +void x68k_send(uint8_t d) +{ + while (!(UCSR1A&(1<