rtio_acp: fix batch not remapping back for 0 events
This commit was merged in pull request #451.
This commit is contained in:
@@ -320,6 +320,7 @@ pub extern "C" fn batch_end() {
|
||||
unsafe {
|
||||
if OUT_BUFFER.ptr == 0 {
|
||||
OUT_BUFFER.running = BATCH_DISABLED;
|
||||
mmu::remap_section(&__rtio_page as *const _ as u32, &__rtio_page as *const _ as u32);
|
||||
return;
|
||||
}
|
||||
// dmb and send event (commit the event to gateware)
|
||||
|
||||
Reference in New Issue
Block a user