Add LED support to x68k
[tmk_keyboard.git] / protocol / x68k.c
index d17af51cc2dc6f7a659b9c2a447e9cef850ee3bf..b54e3d9a89f7c3cbda0a17f8815d281abb13706f 100644 (file)
@@ -64,6 +64,12 @@ uint8_t x68k_recv(void)
     return data;
 }
 
     return data;
 }
 
+void x68k_send(uint8_t d)
+{
+    while (!(UCSR1A&(1<<UDRE1)));
+    UDR1 = d;
+}
+
 // USART RX complete interrupt
 ISR(KBD_RX_VECT)
 {
 // USART RX complete interrupt
 ISR(KBD_RX_VECT)
 {
Imprint / Impressum