mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 02:23:34 +08:00
LPC11C24 PoC UART logging
This commit is contained in:
@@ -47,11 +47,13 @@ __attribute__((noinline))
|
|||||||
void init()
|
void init()
|
||||||
{
|
{
|
||||||
board::resetWatchdog();
|
board::resetWatchdog();
|
||||||
|
board::syslog("Boot\r\n");
|
||||||
|
|
||||||
if (uavcan_lpc11c24::CanDriver::instance().init(1000000) < 0)
|
if (uavcan_lpc11c24::CanDriver::instance().init(1000000) < 0)
|
||||||
{
|
{
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
board::syslog("CAN init ok\r\n");
|
||||||
|
|
||||||
board::resetWatchdog();
|
board::resetWatchdog();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user