diff --git a/ArduSub/failsafe.cpp b/ArduSub/failsafe.cpp index 1453acc05b..23339793fc 100644 --- a/ArduSub/failsafe.cpp +++ b/ArduSub/failsafe.cpp @@ -332,7 +332,7 @@ void Sub::failsafe_gcs_check() // Send a warning every 30 seconds if (tnow - failsafe.last_gcs_warn_ms > 30000) { failsafe.last_gcs_warn_ms = tnow; - gcs().send_text(MAV_SEVERITY_WARNING, "MYGCS: %d, heartbeat lost", g.sysid_my_gcs); + gcs().send_text(MAV_SEVERITY_WARNING, "MYGCS: %u, heartbeat lost", g.sysid_my_gcs.get()); } // do nothing if we have already triggered the failsafe action, or if the motors are disarmed