Rover: assign notify is_autopilot_mode flag

This commit is contained in:
Tom Pittenger 2019-03-30 06:38:01 -07:00 committed by Randy Mackay
parent 1101cc05e6
commit fe9a9479e6
1 changed files with 1 additions and 0 deletions

View File

@ -283,6 +283,7 @@ void Rover::startup_INS_ground(void)
// update notify with mode change
void Rover::notify_mode(const Mode *mode)
{
AP_Notify::flags.autopilot_mode = mode->is_autopilot_mode();
notify.flags.flight_mode = mode->mode_number();
notify.set_flight_mode_str(mode->name4());
}