mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 03:47:35 +08:00
STM32: Removed debug code
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
* Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
|
||||
*/
|
||||
|
||||
#include <crdr_chibios/sys/sys.h>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
#include <uavcan_stm32/clock.hpp>
|
||||
@@ -189,9 +188,6 @@ static void updateRatePID(uavcan::UtcDuration adjustment)
|
||||
rate_correction_ppm = std::min(rate_correction_ppm, utc_sync_params.max_rate_correction_ppm);
|
||||
|
||||
utc_correction_nsec_per_overflow = (USecPerOverflow * 1000) * (rate_correction_ppm / 1e6F);
|
||||
|
||||
lowsyslog("$ adj=%f rate_err=%f int=%f ppm=%f\n",
|
||||
adj_usec, utc_inv_rate_error_ppm, utc_integrated_error, rate_correction_ppm);
|
||||
}
|
||||
|
||||
void adjustUtc(uavcan::UtcDuration adjustment)
|
||||
|
||||
Reference in New Issue
Block a user