From 29e2ea4e303552c21d8363f5bd9fd891f2d68e68 Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Tue, 1 Apr 2014 01:56:42 +0400 Subject: [PATCH] Removed two annoying debug traces --- libuavcan/src/node/scheduler.cpp | 2 +- libuavcan/src/protocol/node_status_provider.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/libuavcan/src/node/scheduler.cpp b/libuavcan/src/node/scheduler.cpp index 07ad39e75a..1f5aeb41e9 100644 --- a/libuavcan/src/node/scheduler.cpp +++ b/libuavcan/src/node/scheduler.cpp @@ -146,7 +146,7 @@ void Scheduler::pollCleanup(MonotonicTime mono_ts, uint32_t num_frames_processed const MonotonicTime deadline = prev_cleanup_ts_ + cleanup_period_ * (num_frames_processed_with_last_spin + 1); if (mono_ts > deadline) { - UAVCAN_TRACE("Scheduler", "Cleanup with %u processed frames", num_frames_processed_with_last_spin); + //UAVCAN_TRACE("Scheduler", "Cleanup with %u processed frames", num_frames_processed_with_last_spin); prev_cleanup_ts_ = mono_ts; dispatcher_.cleanup(mono_ts); } diff --git a/libuavcan/src/protocol/node_status_provider.cpp b/libuavcan/src/protocol/node_status_provider.cpp index 2809dc83cb..caa448de64 100644 --- a/libuavcan/src/protocol/node_status_provider.cpp +++ b/libuavcan/src/protocol/node_status_provider.cpp @@ -39,7 +39,6 @@ void NodeStatusProvider::publishWithErrorHandling() void NodeStatusProvider::handleTimerEvent(const TimerEvent&) { - UAVCAN_TRACE("NodeStatusProvider", "Publishing node status by timer"); publishWithErrorHandling(); }