Skip to content
Snippets Groups Projects
Commit 8dbbe0a3 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

No need to call reset_yield() if we're not calilng maybe_yield()

parent d38c2400
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3049 passed
......@@ -343,7 +343,7 @@ VOID uart_wrport(WORD port, BYTE data)
,GetLastError(),retval);
} else {
assert_interrupt(UART_IER_TX_EMPTY);
reset_yield();
// reset_yield();
}
}
break;
......@@ -401,7 +401,7 @@ VOID uart_rdport(WORD port, PBYTE data)
vdd_read(data,sizeof(BYTE));
lprintf(LOG_DEBUG,"READ DATA: %s", chr(*data));
avail--;
reset_yield();
// reset_yield();
} else
*data=0;
data_waiting(avail);
......
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