remove TODO
This commit is contained in:
parent
36ed787db1
commit
ecc61d184b
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user