Merge pull request #157 from eried/gcc9.3-assert-redefinition

Gcc9.3 assert redefinition
This commit is contained in:
Erwin Ried
2020-08-20 21:45:11 +02:00
committed by GitHub
5 changed files with 7 additions and 7 deletions

View File

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

View File

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