mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
Rover: Make base_mode armed status depend upon the arming library, not
soft armed This change brings it in line with Plane.
This commit is contained in:
parent
a0c5ac1949
commit
5ac1293a52
@ -56,7 +56,7 @@ void Rover::send_heartbeat(mavlink_channel_t chan)
|
||||
#endif
|
||||
|
||||
// we are armed if we are not initialising
|
||||
if (control_mode != INITIALISING && hal.util->get_soft_armed()) {
|
||||
if (control_mode != INITIALISING && arming.is_armed()) {
|
||||
base_mode |= MAV_MODE_FLAG_SAFETY_ARMED;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user