Rover: honor the FS_GCS_ENABLE parameter
GCS failsafe was always enabled
This commit is contained in:
parent
d16587340d
commit
df66dc1889
@ -690,8 +690,10 @@ static void mount_update(void)
|
||||
*/
|
||||
static void failsafe_check(void)
|
||||
{
|
||||
if (g.fs_gcs_enable) {
|
||||
failsafe_trigger(FAILSAFE_EVENT_GCS, last_heartbeat_ms != 0 && (millis() - last_heartbeat_ms) > 2000);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
if the compass is enabled then try to accumulate a reading
|
||||
|
Loading…
Reference in New Issue
Block a user