fix some issues
This commit is contained in:
@@ -201,11 +201,13 @@ void MenuGPS::printPage() const {
|
||||
|
||||
void MenuGPS::runCommand() const {
|
||||
switch (this->currentPage) {
|
||||
case 3:
|
||||
case 3: {
|
||||
// std::cout << "MenuGPS::runCommand " << this->ntripClient->getClientState() << std::endl;
|
||||
if (this->ntripClient->getClientState() == NTRIPClientStates::pushData)
|
||||
this->ntripClient->setActivated(false);
|
||||
else if (this->ntripClient->getClientState() != NTRIPClientStates::notAvailable)
|
||||
this->ntripClient->setActivated(true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user