mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Sub: pass format string through to check_failed
This commit is contained in:
parent
b7b67f523d
commit
6347febc9a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user