fix some issues
This commit is contained in:
@@ -109,11 +109,13 @@ void NTRIPClient::gpsConfiguration() {
|
||||
}
|
||||
|
||||
bool NTRIPClient::setActivated(bool b) {
|
||||
// std::cout << "NTRIPClient::setActivated: b - " << b << std::endl;
|
||||
if (b && this->state != NTRIPClientStates::notAvailable)
|
||||
this->activated = true;
|
||||
else if (b)
|
||||
return false;
|
||||
this->activated = false;
|
||||
else
|
||||
this->activated = false;
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user