- adaptions to PCB Hend-Control, Rev.0

git-svn-id: http://moon:8086/svn/projects/HendiControl@152 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2019-03-29 21:33:32 +00:00
parent 3ff77ccb66
commit a7a46940b5
10 changed files with 119 additions and 86 deletions
+5 -1
View File
@@ -28,7 +28,11 @@ ISR(USART_RX_vect)
if (status & (1 << RXC0))
{
uint8_t rx_data = UDR0;
Msg_t msg = {Uart, rx_data};
Msg_t msg =
{
.code = Uart,
.m.uart.data = rx_data
};
fifo_push(g_pFifo, &msg);
}
}