mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-09 05:00:35 +08:00
STM32 test print
This commit is contained in:
@@ -130,9 +130,9 @@ public:
|
||||
lowsyslog("Memory usage: used=%u free=%u\n",
|
||||
node.getAllocator().getNumUsedBlocks(), node.getAllocator().getNumFreeBlocks());
|
||||
|
||||
lowsyslog("RX queues: %u %u\n",
|
||||
can.driver.getIface(0)->getRxQueueLength(),
|
||||
can.driver.getIface(1)->getRxQueueLength());
|
||||
lowsyslog("CAN errors: %lu %lu\n",
|
||||
static_cast<unsigned long>(can.driver.getIface(0)->getErrorCount()),
|
||||
static_cast<unsigned long>(can.driver.getIface(1)->getErrorCount()));
|
||||
|
||||
node.logInfo("app", "UTC %* sec, %* corr, %* jumps",
|
||||
uavcan_stm32::clock::getUtc().toMSec() / 1000,
|
||||
|
||||
Reference in New Issue
Block a user