Rename m4txevent::assert and m0apptxevent::assert (adding "_event")

Copied from f6cdf6a722#
This commit is contained in:
eried 2020-08-19 09:43:04 +02:00
parent c626d83c3b
commit 1c9ccbc247
4 changed files with 6 additions and 6 deletions

View File

@ -39,7 +39,7 @@ static void send_message(const Message* const message) {
// If message is only sent by this function via one thread, no need to check if // If message is only sent by this function via one thread, no need to check if
// another message is present before setting new message. // another message is present before setting new message.
shared_memory.baseband_message = message; shared_memory.baseband_message = message;
creg::m0apptxevent::assert(); creg::m0apptxevent::assert_event();
while(shared_memory.baseband_message); while(shared_memory.baseband_message);
} }

View File

@ -65,7 +65,7 @@ size_t StreamInput::write(const void* const data, const size_t length) {
break; break;
} }
active_buffer = nullptr; active_buffer = nullptr;
creg::m4txevent::assert(); creg::m4txevent::assert_event();
} }
} }

View File

@ -69,7 +69,7 @@ inline void disable() {
#endif #endif
#if defined(LPC43XX_M4) #if defined(LPC43XX_M4)
inline void assert() { inline void assert_event() {
__SEV(); __SEV();
} }
#endif #endif
@ -93,7 +93,7 @@ inline void disable() {
#endif #endif
#if defined(LPC43XX_M0) #if defined(LPC43XX_M0)
inline void assert() { inline void assert_event() {
__SEV(); __SEV();
} }
#endif #endif

View File

@ -26,12 +26,12 @@ using namespace lpc43xx;
#if defined(LPC43XX_M0) #if defined(LPC43XX_M0)
void MessageQueue::signal() { void MessageQueue::signal() {
creg::m0apptxevent::assert(); creg::m0apptxevent::assert_event();
} }
#endif #endif
#if defined(LPC43XX_M4) #if defined(LPC43XX_M4)
void MessageQueue::signal() { void MessageQueue::signal() {
creg::m4txevent::assert(); creg::m4txevent::assert_event();
} }
#endif #endif