mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 04:23:34 +08:00
libuavcan core now uses UAVCAN_ASSERT() instead of assert() (autoreplace)
This commit is contained in:
@@ -23,7 +23,7 @@ void handleFatalError(const char* msg)
|
||||
throw std::runtime_error(msg);
|
||||
#else
|
||||
(void)msg;
|
||||
assert(0);
|
||||
UAVCAN_ASSERT(0);
|
||||
std::abort();
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user