AP_NavEKF3: use UINT8_MAX as flag value in place of 255

This commit is contained in:
muramura 2024-09-12 22:59:48 +10:00 committed by Peter Barker
parent 8b5c5fcdb7
commit 9e28bec87a

View File

@ -1341,7 +1341,7 @@ uint8_t NavEKF3::getActiveAirspeed() const
if (core) {
return core[primary].getActiveAirspeed();
} else {
return 255;
return UINT8_MAX;
}
}