small logic tweak
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Robin Müller 2023-02-06 10:39:19 +01:00
parent 1a4dbce350
commit ee01b6253e
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -159,7 +159,7 @@ bool GpsHyperionLinuxController::readGpsDataFromGpsd() {
}
if (result == -1) {
readError(result);
return true;
return false;
}
if (MODE_SET != (MODE_SET & gps.set)) {
if (mode == MODE_ON) {