mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 23:35:34 +03:00
Fix arming when GPS included in build but no active GNSS device attached + revert msp request for SatInfo (#13244)
* Fix arming when GPS included in build but not active * Fixes per review from Chris * Move PG change to new PR * Restore changing GPS PG version
This commit is contained in:
parent
22ce586550
commit
9b078c0b1f
7 changed files with 17 additions and 27 deletions
|
@ -580,9 +580,10 @@ void tryArm(void)
|
|||
lastArmingDisabledReason = 0;
|
||||
|
||||
#ifdef USE_GPS
|
||||
GPS_reset_home_position();
|
||||
//beep to indicate arming
|
||||
if (featureIsEnabled(FEATURE_GPS)) {
|
||||
GPS_reset_home_position();
|
||||
|
||||
if (STATE(GPS_FIX) && gpsSol.numSat >= gpsRescueConfig()->minSats) {
|
||||
beeper(BEEPER_ARMING_GPS_FIX);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue