forked from ROMEO/obsw
io interface; relying on patched lwip
This commit is contained in:
@ -77,6 +77,7 @@ void uart0_enable_receiver() {
|
||||
}
|
||||
|
||||
int uart0_read(char *ptr, int len) {
|
||||
// TODO for blocking, if first call was successfull, further calls need to be delay=0
|
||||
int received = 0;
|
||||
while (len > 0) {
|
||||
BaseType_t result = xQueueReceive(uart0_receive_queue, ptr, 0);
|
||||
|
Reference in New Issue
Block a user