Rover: fixed typo

This commit is contained in:
Andrew Tridgell 2013-09-16 09:17:00 +10:00
parent e85d275fe5
commit 3878d9d09e

View File

@ -690,7 +690,7 @@ static void mount_update(void)
*/ */
static void failsafe_check(void) static void failsafe_check(void)
{ {
if (g.fs_gcs_enable) { if (g.fs_gcs_enabled) {
failsafe_trigger(FAILSAFE_EVENT_GCS, last_heartbeat_ms != 0 && (millis() - last_heartbeat_ms) > 2000); failsafe_trigger(FAILSAFE_EVENT_GCS, last_heartbeat_ms != 0 && (millis() - last_heartbeat_ms) > 2000);
} }
} }