From d7bd5fc28be0110b6154d0c580f9fff04a662a8d Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Tue, 13 Oct 2015 17:01:07 +0300 Subject: [PATCH] LPC11C24 printing a scary message when the app fails --- .../lpc11c24/test_olimex_lpc_p11c24/src/sys/board.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libuavcan_drivers/lpc11c24/test_olimex_lpc_p11c24/src/sys/board.cpp b/libuavcan_drivers/lpc11c24/test_olimex_lpc_p11c24/src/sys/board.cpp index 22bb15d010..26703c47ac 100644 --- a/libuavcan_drivers/lpc11c24/test_olimex_lpc_p11c24/src/sys/board.cpp +++ b/libuavcan_drivers/lpc11c24/test_olimex_lpc_p11c24/src/sys/board.cpp @@ -137,6 +137,9 @@ void init() void die() { static const volatile unsigned& DHCSR = *reinterpret_cast(0xE000EDF0U); + + syslog("FATAL\r\n"); + while (true) { if ((DHCSR & 1U) != 0)