Commit 5eb225bd authored by Gus Grubba's avatar Gus Grubba Committed by Lorenz Meier

Removing 2 and 5 minutes time scales for now.

parent 00cf60ca
...@@ -496,9 +496,7 @@ MAVLinkInspectorController::MAVLinkInspectorController() ...@@ -496,9 +496,7 @@ MAVLinkInspectorController::MAVLinkInspectorController()
_timeScales << tr("5 Sec"); _timeScales << tr("5 Sec");
_timeScales << tr("10 Sec"); _timeScales << tr("10 Sec");
_timeScales << tr("30 Sec"); _timeScales << tr("30 Sec");
_timeScales << tr("1 Min"); _timeScales << tr("60 Sec");
_timeScales << tr("2 Min");
_timeScales << tr("5 Min");
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
...@@ -680,8 +678,6 @@ MAVLinkInspectorController::updateXRange() ...@@ -680,8 +678,6 @@ MAVLinkInspectorController::updateXRange()
case 1: ts = 10 * 1000; break; case 1: ts = 10 * 1000; break;
case 2: ts = 30 * 1000; break; case 2: ts = 30 * 1000; break;
case 3: ts = 60 * 1000; break; case 3: ts = 60 * 1000; break;
case 4: ts = 2 * 60 * 1000; break;
case 5: ts = 5 * 60 * 1000; break;
} }
qint64 t = static_cast<qint64>(QGC::groundTimeMilliseconds()); qint64 t = static_cast<qint64>(QGC::groundTimeMilliseconds());
_rangeXMax = QDateTime::fromMSecsSinceEpoch(t); _rangeXMax = QDateTime::fromMSecsSinceEpoch(t);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment