mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Move some GPS variables into struct. Some alignment with iNav
This commit is contained in:
parent
582af3d515
commit
564e0c94b8
22 changed files with 192 additions and 197 deletions
|
@ -231,7 +231,7 @@ void mwArm(void)
|
|||
|
||||
//beep to indicate arming
|
||||
#ifdef GPS
|
||||
if (feature(FEATURE_GPS) && STATE(GPS_FIX) && GPS_numSat >= 5)
|
||||
if (feature(FEATURE_GPS) && STATE(GPS_FIX) && gpsSol.numSat >= 5)
|
||||
beeper(BEEPER_ARMING_GPS_FIX);
|
||||
else
|
||||
beeper(BEEPER_ARMING);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue