mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 08:07:37 +00:00
Merge pull request #157 from eried/gcc9.3-assert-redefinition
Gcc9.3 assert redefinition
This commit is contained in:
@@ -65,7 +65,7 @@ size_t StreamInput::write(const void* const data, const size_t length) {
|
||||
break;
|
||||
}
|
||||
active_buffer = nullptr;
|
||||
creg::m4txevent::assert();
|
||||
creg::m4txevent::assert_event();
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -67,7 +67,7 @@ size_t StreamOutput::read(void* const data, const size_t length) {
|
||||
}
|
||||
// Tell M0 (IRQ) that a buffer has been consumed.
|
||||
active_buffer = nullptr;
|
||||
creg::m4txevent::assert();
|
||||
creg::m4txevent::assert_event();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user