1
0
Fork 0
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:
Mark Haslinghuis 2023-12-28 00:14:02 +01:00 committed by GitHub
parent 22ce586550
commit 9b078c0b1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 17 additions and 27 deletions

View file

@ -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 {