diff --git a/ArduPlane/system.cpp b/ArduPlane/system.cpp index b29d5a9bfe..2a2c0fb660 100644 --- a/ArduPlane/system.cpp +++ b/ArduPlane/system.cpp @@ -324,8 +324,8 @@ void Plane::check_long_failsafe() failsafe_long_on_event(FAILSAFE_GCS, ModeReason::GCS_FAILSAFE); } else if (g.gcs_heartbeat_fs_enabled == GCS_FAILSAFE_HB_RSSI && gcs().chan(0) != nullptr && - gcs().chan(0)->last_radio_status_remrssi_ms != 0 && - (tnow - gcs().chan(0)->last_radio_status_remrssi_ms) > g.fs_timeout_long*1000) { + gcs().chan(0)->last_radio_status_remrssi_ms() != 0 && + (tnow - gcs().chan(0)->last_radio_status_remrssi_ms()) > g.fs_timeout_long*1000) { failsafe_long_on_event(FAILSAFE_GCS, ModeReason::GCS_FAILSAFE); } } else {