aboutsummaryrefslogtreecommitdiff
path: root/protocol/x68k.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocol/x68k.c')
-rw-r--r--protocol/x68k.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocol/x68k.c b/protocol/x68k.c
index d17af51cc..b54e3d9a8 100644
--- a/protocol/x68k.c
+++ b/protocol/x68k.c
@@ -64,6 +64,12 @@ uint8_t x68k_recv(void)
64 return data; 64 return data;
65} 65}
66 66
67void x68k_send(uint8_t d)
68{
69 while (!(UCSR1A&(1<<UDRE1)));
70 UDR1 = d;
71}
72
67// USART RX complete interrupt 73// USART RX complete interrupt
68ISR(KBD_RX_VECT) 74ISR(KBD_RX_VECT)
69{ 75{