From 94b23decf7bf05051720785d748cb399d591900f Mon Sep 17 00:00:00 2001 From: tmk Date: Fri, 21 Jun 2013 16:34:39 +0900 Subject: [PATCH] Add LED support to x68k --- protocol/x68k.c | 6 ++++++ protocol/x68k.h | 1 + 2 files changed, 7 insertions(+) diff --git a/protocol/x68k.c b/protocol/x68k.c index d17af51c..b54e3d9a 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<