arm: fix bug in uart HAL
This commit is contained in:
parent
15f2657254
commit
1fc4a734bd
@ -178,7 +178,9 @@ static void ReceiveDataHandler(XUartLite *InstancePtr)
|
||||
*/
|
||||
if (InstancePtr->ReceiveBuffer.RemainingBytes != 0) {
|
||||
XUartLite_ReceiveBuffer(InstancePtr);
|
||||
}
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* If the last byte of a message was received then call the application
|
||||
|
Loading…
Reference in New Issue
Block a user