mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
GPS Rescue disabled warning
This commit is contained in:
parent
234186f493
commit
ec71965dd8
8 changed files with 62 additions and 28 deletions
|
@ -460,8 +460,12 @@ void tryArm(void)
|
|||
GPS_reset_home_position();
|
||||
|
||||
//beep to indicate arming
|
||||
if (featureIsEnabled(FEATURE_GPS) && STATE(GPS_FIX) && gpsSol.numSat >= 5) {
|
||||
beeper(BEEPER_ARMING_GPS_FIX);
|
||||
if (featureIsEnabled(FEATURE_GPS)) {
|
||||
if (STATE(GPS_FIX) && gpsSol.numSat >= 5) {
|
||||
beeper(BEEPER_ARMING_GPS_FIX);
|
||||
} else {
|
||||
beeper(BEEPER_ARMING_GPS_NO_FIX);
|
||||
}
|
||||
} else {
|
||||
beeper(BEEPER_ARMING);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue