Skip to content
Snippets Groups Projects
Commit ab9b10cf authored by rahix's avatar rahix
Browse files

Merge 'serial: Unblock if the queue is full'

Closes #218

See merge request !422
parents 593be3c3 f7719151
No related branches found
No related tags found
1 merge request!422fix(serial): Unblock if the queue is full
Pipeline #4910 passed
......@@ -119,7 +119,11 @@ void epic_uart_write_str(const char *str, size_t length)
SERIAL_WRITE_NOTIFY,
eSetBits
);
portYIELD();
if (bytes_sent == 0) {
vTaskDelay(1);
} else {
portYIELD();
}
}
} while (index < length);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment