mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-11 06:13:34 +08:00
LPC11C24 printing a scary message when the app fails
This commit is contained in:
@@ -137,6 +137,9 @@ void init()
|
||||
void die()
|
||||
{
|
||||
static const volatile unsigned& DHCSR = *reinterpret_cast<unsigned*>(0xE000EDF0U);
|
||||
|
||||
syslog("FATAL\r\n");
|
||||
|
||||
while (true)
|
||||
{
|
||||
if ((DHCSR & 1U) != 0)
|
||||
|
||||
Reference in New Issue
Block a user