mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 03:53:34 +08:00
Removed two annoying debug traces
This commit is contained in:
@@ -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);
|
const MonotonicTime deadline = prev_cleanup_ts_ + cleanup_period_ * (num_frames_processed_with_last_spin + 1);
|
||||||
if (mono_ts > deadline)
|
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;
|
prev_cleanup_ts_ = mono_ts;
|
||||||
dispatcher_.cleanup(mono_ts);
|
dispatcher_.cleanup(mono_ts);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,7 +39,6 @@ void NodeStatusProvider::publishWithErrorHandling()
|
|||||||
|
|
||||||
void NodeStatusProvider::handleTimerEvent(const TimerEvent&)
|
void NodeStatusProvider::handleTimerEvent(const TimerEvent&)
|
||||||
{
|
{
|
||||||
UAVCAN_TRACE("NodeStatusProvider", "Publishing node status by timer");
|
|
||||||
publishWithErrorHandling();
|
publishWithErrorHandling();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user