fix some issues

This commit is contained in:
2022-12-20 23:55:55 +01:00
parent 16ac28e997
commit 6590f26e44
8 changed files with 29 additions and 18 deletions
+3 -1
View File
@@ -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;
}
}
}
+2 -2
View File
@@ -67,7 +67,7 @@ void makeMenu(void);
void setup() {
Serial.begin(115200);
DebugTimes::setConsolOutput(true);
// DebugTimes::setConsolOutput(true);
DebugTimes setupTime;
char wifiIndicator = 'X';
@@ -130,7 +130,7 @@ void loop() {
DebugTimes wifiTime;
Network::checkWiFi();
Network::checkMQTT();
wifiTime.stopConsol("WiFi-Time", 5);
wifiTime.stopConsol("WiFi-Time", 10);
}
driveManager->loop();