STM32, LPC11C24: Default min jump set to 10 ms

This commit is contained in:
Pavel Kirienko
2014-04-24 14:46:37 +04:00
parent 95363908bf
commit 5a01135970
2 changed files with 2 additions and 2 deletions
@@ -116,7 +116,7 @@ void adjustUtc(uavcan::UtcDuration adjustment)
utc_correction_usec_per_overflow_x16 = std::max(utc_correction_usec_per_overflow_x16, -MaxUtcSpeedCorrectionX16);
utc_correction_usec_per_overflow_x16 = std::min(utc_correction_usec_per_overflow_x16, MaxUtcSpeedCorrectionX16);
if (adjustment.getAbs().toMSec() > 2 || !utc_set)
if (adjustment.getAbs().toMSec() > 9 || !utc_set)
{
const int64_t adj_usec = adjustment.toUSec();
{