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 != MODE_OFF and maxTimeToReachFix.hasTimedOut() and
oneShotSwitches.cantGetFixSwitch) {
// TODO: Trigger event here
sif::warning << "GPSHyperionHandler::readGpsDataFromGpsd: No mode could be "
"read for 10 consecutive reads"
<< std::endl;
sif::warning << "GPSHyperionHandler::readGpsDataFromGpsd: No mode could be set in allowed "
<< maxTimeToReachFix.timeout / 1000 << " seconds" << std::endl;
triggerEvent(GpsHyperion::CANT_GET_FIX, maxTimeToReachFix.timeout);
oneShotSwitches.cantGetFixSwitch = false;
// did not event get mode, nothing to see.