refactoring ntripClient
This commit is contained in:
@@ -113,7 +113,7 @@ void MenuSensorData::printPage() const
|
||||
lineOne = "UNKNOWN";
|
||||
}
|
||||
const NTRIPClientStates status = this->sensorData->getNtripState();
|
||||
if (status == NTRIPClientStates::pushData)
|
||||
if (status == NTRIPClientStates::pushingData)
|
||||
{
|
||||
lineTwo.concat("enabled");
|
||||
}
|
||||
|
||||
@@ -120,7 +120,7 @@ void MenuAutopilot::printPage() const
|
||||
const uint8_t carrSoln = gpsData->flags.bits.carrSoln;
|
||||
lineOne = "GNSS: ";
|
||||
|
||||
if (status == NTRIPClientStates::pushData)
|
||||
if (status == NTRIPClientStates::pushingData)
|
||||
{
|
||||
if (carrSoln == 0)
|
||||
{
|
||||
|
||||
@@ -63,7 +63,7 @@ void MenuCaptureRoute::printPage() const
|
||||
NTRIPClientStates status = this->captureRoute->getSensorData()->getNtripClient()->getClientState();
|
||||
lineOne = "NTRIP Client is";
|
||||
|
||||
if (status == NTRIPClientStates::pushData)
|
||||
if (status == NTRIPClientStates::pushingData)
|
||||
{
|
||||
lineTwo = "enabled";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user