- 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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user