Skip to content

Commit

Permalink
Blimp: get MAV_STATE_BOOT on reboot
Browse files Browse the repository at this point in the history
  • Loading branch information
richaravoil authored and peterbarker committed Jun 28, 2024
1 parent 99f12d6 commit 84adf69
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Blimp/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ MAV_STATE GCS_MAVLINK_Blimp::vehicle_system_status() const
if (blimp.ap.land_complete) {
return MAV_STATE_STANDBY;
}
if (!blimp.ap.initialised) {
return MAV_STATE_BOOT;
}

return MAV_STATE_ACTIVE;
}
Expand Down

0 comments on commit 84adf69

Please sign in to comment.