ntrip, testMode, zed9 gnss modul

This commit is contained in:
2022-09-13 20:31:52 +02:00
parent c7cb0d3895
commit af6cb98898
43 changed files with 907 additions and 262 deletions
@@ -74,9 +74,9 @@ void MenuAutopilot::printMenu() {
}
void MenuAutopilot::update() {
if (millis() - this->last_millis < this->minDelay)
if (millis() - this->lastMillis < this->minDelay)
return;
this->last_millis = millis();
this->lastMillis = millis();
if (!this->autopilot->shouldUpdate())
return;
@@ -49,7 +49,7 @@ class MenuAutopilot : public MenuDriveMode {
Autopilot* autopilot;
RouteInfo routeInfo;
uint32_t last_millis = 0;
uint32_t lastMillis = 0;
uint16_t minDelay = 1500;
};