This commit is contained in:
parent
ecc61d184b
commit
540bd63f4c
@ -163,7 +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) {
|
||||||
sif::warning << "GPSHyperionHandler::readGpsDataFromGpsd: No mode could be set in allowed "
|
sif::warning
|
||||||
|
<< "GPSHyperionHandler::readGpsDataFromGpsd: No mode could be set in allowed "
|
||||||
<< maxTimeToReachFix.timeout / 1000 << " seconds" << std::endl;
|
<< maxTimeToReachFix.timeout / 1000 << " seconds" << std::endl;
|
||||||
triggerEvent(GpsHyperion::CANT_GET_FIX, maxTimeToReachFix.timeout);
|
triggerEvent(GpsHyperion::CANT_GET_FIX, maxTimeToReachFix.timeout);
|
||||||
oneShotSwitches.cantGetFixSwitch = false;
|
oneShotSwitches.cantGetFixSwitch = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user