AP_NavEKF3: use UINT8_MAX as flag value in place of 255
This commit is contained in:
parent
8b5c5fcdb7
commit
9e28bec87a
@ -1341,7 +1341,7 @@ uint8_t NavEKF3::getActiveAirspeed() const
|
||||
if (core) {
|
||||
return core[primary].getActiveAirspeed();
|
||||
} else {
|
||||
return 255;
|
||||
return UINT8_MAX;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user