Added flag to packetusart (c) PostPacket to omit wait for crc scheduling
This commit is contained in:
parent
23a75f43c7
commit
3232fe1d30
3 changed files with 4 additions and 4 deletions
|
@ -79,7 +79,7 @@ void MainLoop()
|
|||
for(uint16_t idx = 0; idx < sizeof(g_uartStatuses) / sizeof(g_uartStatuses[0]); ++idx) {
|
||||
if(!g_uartStatuses[idx].txBuffer.busy && send) {
|
||||
DIAG_ENTER_BUSY();
|
||||
PostPacket(&g_uartStatuses[idx], text2Send, sizeof(text2Send) - 1 - (rand() & randmask), &g_crcStatus);
|
||||
PostPacket(&g_uartStatuses[idx], text2Send, sizeof(text2Send) - 1 - (rand() & randmask), &g_crcStatus, 1);
|
||||
DIAG_EXIT_BUSY();
|
||||
}
|
||||
for(uint16_t rIdx = 0; rIdx < 2; ++rIdx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue