From 6815e5c755a240532b34efd476dff17bc2c7572f Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Sat, 26 Apr 2014 23:47:39 +0400 Subject: [PATCH] STM32: Removed debug code --- libuavcan_drivers/stm32/driver/src/uc_stm32_clock.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libuavcan_drivers/stm32/driver/src/uc_stm32_clock.cpp b/libuavcan_drivers/stm32/driver/src/uc_stm32_clock.cpp index 2df2fdf2a2..5c3f919569 100644 --- a/libuavcan_drivers/stm32/driver/src/uc_stm32_clock.cpp +++ b/libuavcan_drivers/stm32/driver/src/uc_stm32_clock.cpp @@ -2,7 +2,6 @@ * Copyright (C) 2014 Pavel Kirienko */ -#include #include #include #include @@ -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)