'while' is reverse of 'until'...
This commit is contained in:
parent
414cfd2fa7
commit
241113c6b2
@ -328,7 +328,8 @@ fn async_error_thread() {
|
||||
loop {
|
||||
unsafe {
|
||||
// replaced io.until with spinlock
|
||||
while csr::rtio_core::async_error_read() != 0 {}
|
||||
// could potentially put a sleep in there?
|
||||
while csr::rtio_core::async_error_read() == 0 {}
|
||||
|
||||
let errors = csr::rtio_core::async_error_read();
|
||||
if errors & 1 != 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user