Skip to content

Commit

Permalink
AP_NavEKF3: use UINT8_MAX as flag value in place of 255
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura authored and peterbarker committed Sep 12, 2024
1 parent b0e1c52 commit 6c91db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_NavEKF3/AP_NavEKF3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,7 @@ uint8_t NavEKF3::getActiveAirspeed() const
if (core) {
return core[primary].getActiveAirspeed();
} else {
return 255;
return UINT8_MAX;
}
}

Expand Down

0 comments on commit 6c91db7

Please sign in to comment.