Skip to content

Commit ae04bc5

Browse files
peterbarkertridge
authored andcommitted
ArduSub: correct myggcs to mygcs
not sure what the extra "g" was supposed to be for, best suggestion so far is "great". Doesn't really add anything, so we should remove it.
1 parent 08a1d5c commit ae04bc5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ArduSub/GCS_MAVLink_Sub.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ void GCS_MAVLINK_Sub::handle_message(const mavlink_message_t &msg)
674674
sub.failsafe.last_pilot_input_ms = AP_HAL::millis();
675675
// a RC override message is considered to be a 'heartbeat'
676676
// from the ground station for failsafe purposes
677-
gcs().sysid_myggcs_seen(AP_HAL::millis());
677+
gcs().sysid_mygcs_seen(AP_HAL::millis());
678678
break;
679679
}
680680

ArduSub/failsafe.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ void Sub::failsafe_gcs_check()
312312
return;
313313
}
314314

315-
const uint32_t gcs_last_seen_ms = gcs().sysid_myggcs_last_seen_time_ms();
315+
const uint32_t gcs_last_seen_ms = gcs().sysid_mygcs_last_seen_time_ms();
316316
if (gcs_last_seen_ms == 0) {
317317
// we've never seen a GCS, so we don't failsafe if we stop seeing it
318318
return;

0 commit comments

Comments
 (0)