fix: increase uart transmit timeout to 100 ms
parent
51cb91df6c
commit
e013432ef7
|
|
@ -265,7 +265,7 @@ static xCoreStatus_t uart_transmit(McalUartHandle_s* pxUartHandle, uint8_t *u8tx
|
|||
for(int j=0; j<u32size; j++)
|
||||
{
|
||||
DL_UART_transmitData(uart_inst,u8txdata[j]);
|
||||
while(DL_UART_isTXFIFOFull(uart_inst) && ((i32MCAL_getTicks() - l_u32Tick) < 10));
|
||||
while(DL_UART_isTXFIFOFull(uart_inst) && ((i32MCAL_getTicks() - l_u32Tick) < 100));
|
||||
}
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue