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
No related merge requests found
......@@ -119,8 +119,12 @@ void epic_uart_write_str(const char *str, size_t length)
SERIAL_WRITE_NOTIFY,
eSetBits
);
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.
Please register or to comment