fix command run if ntrip not available
This commit is contained in:
@@ -184,7 +184,7 @@ void MenuGPS::runCommand() const {
|
||||
case 3:
|
||||
if (this->ntripClient->getClientState() == NTRIPClientStates::pushData)
|
||||
this->ntripClient->setActivated(false);
|
||||
else
|
||||
else if (this->ntripClient->getClientState() != NTRIPClientStates::notAvailable)
|
||||
this->ntripClient->setActivated(true);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user