diff --git a/libuavcan_drivers/stm32/test_stm32f107/src/main.cpp b/libuavcan_drivers/stm32/test_stm32f107/src/main.cpp index 0d0f3f61fd..efb66e3de0 100644 --- a/libuavcan_drivers/stm32/test_stm32f107/src/main.cpp +++ b/libuavcan_drivers/stm32/test_stm32f107/src/main.cpp @@ -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(can.driver.getIface(0)->getErrorCount()), + static_cast(can.driver.getIface(1)->getErrorCount())); node.logInfo("app", "UTC %* sec, %* corr, %* jumps", uavcan_stm32::clock::getUtc().toMSec() / 1000,