mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-05 07:28:29 -04:00
AP_GPS: re-fix SBP fix status
This commit is contained in:
parent
512bd08326
commit
7ea0baefb1
@ -282,9 +282,9 @@ AP_GPS_SBP::_attempt_state_update()
|
||||
|
||||
if (pos_llh->flags == 0)
|
||||
state.status = AP_GPS::GPS_OK_FIX_3D;
|
||||
else if (pos_llh->flags == 1)
|
||||
state.status = AP_GPS::GPS_OK_FIX_3D_RTK_FLOAT;
|
||||
else if (pos_llh->flags == 2)
|
||||
state.status = AP_GPS::GPS_OK_FIX_3D_RTK_FLOAT;
|
||||
else if (pos_llh->flags == 1)
|
||||
state.status = AP_GPS::GPS_OK_FIX_3D_RTK_FIXED;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user