From b0581e29806410d6e65f44d2b2bf33eb768e7fc6 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Sun, 22 Sep 2019 09:39:21 -0700 Subject: [PATCH] Fix interval --- src/FollowMe/FollowMe.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FollowMe/FollowMe.cc b/src/FollowMe/FollowMe.cc index 3ca922b1c..2eb0f0ed9 100644 --- a/src/FollowMe/FollowMe.cc +++ b/src/FollowMe/FollowMe.cc @@ -61,7 +61,7 @@ void FollowMe::_settingsChanged() void FollowMe::_enableFollowSend() { if (!_gcsMotionReportTimer.isActive()) { - _gcsMotionReportTimer.setInterval(qMax(_toolbox->qgcPositionManager()->updateInterval(), 250)); + _gcsMotionReportTimer.setInterval(qMin(_toolbox->qgcPositionManager()->updateInterval(), 250)); _gcsMotionReportTimer.start(); } } -- 2.22.0