remove TODO

This commit is contained in:
Robin Müller 2023-02-07 14:22:03 +01:00
parent 36ed787db1
commit ecc61d184b
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -163,10 +163,8 @@ bool GpsHyperionLinuxController::readGpsDataFromGpsd() {
if (MODE_SET != (MODE_SET & gps.set)) { if (MODE_SET != (MODE_SET & gps.set)) {
if (mode != MODE_OFF and maxTimeToReachFix.hasTimedOut() and if (mode != MODE_OFF and maxTimeToReachFix.hasTimedOut() and
oneShotSwitches.cantGetFixSwitch) { oneShotSwitches.cantGetFixSwitch) {
// TODO: Trigger event here sif::warning << "GPSHyperionHandler::readGpsDataFromGpsd: No mode could be set in allowed "
sif::warning << "GPSHyperionHandler::readGpsDataFromGpsd: No mode could be " << maxTimeToReachFix.timeout / 1000 << " seconds" << std::endl;
"read for 10 consecutive reads"
<< std::endl;
triggerEvent(GpsHyperion::CANT_GET_FIX, maxTimeToReachFix.timeout); triggerEvent(GpsHyperion::CANT_GET_FIX, maxTimeToReachFix.timeout);
oneShotSwitches.cantGetFixSwitch = false; oneShotSwitches.cantGetFixSwitch = false;
// did not event get mode, nothing to see. // did not event get mode, nothing to see.