mbv: fix bug in xuartlite

This commit is contained in:
2025-06-27 13:01:20 -07:00
parent 2e640690ba
commit 269a04d5f5
2 changed files with 2 additions and 4 deletions

View File

@@ -387,8 +387,7 @@ int XUartLite_IsSending(XUartLite *InstancePtr)
/*
* Read the status register to determine if the transmitter is empty
*/
StatusRegister = XUartLite_ReadReg(InstancePtr->RegBaseAddress,
XUL_STATUS_REG_OFFSET);
StatusRegister = XUartLite_GetSR(InstancePtr);
/*
* If the transmitter is not empty then indicate that the UART is still