Skip to content

Commit

Permalink
Chore: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanoColli committed Aug 13, 2024
1 parent df16c68 commit 276ce01
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/modules/navigator/mission_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,15 +295,14 @@ MissionBase::on_active()
}

// Replay camera mode commands immediately upon mission resume
if (haveCachedCameraModeItems()){
if (haveCachedCameraModeItems()) {
replayCachedCameraModeItems();
}


// Replay cached mission commands once the last mission waypoint is re-reached after the mission interruption.
// Each replay function also clears the cached items afterwards
if (_mission.current_seq > _mission_activation_index)
{
if (_mission.current_seq > _mission_activation_index) {
// replay gimbal commands
if (haveCachedGimbalItems()) {
replayCachedGimbalItems();
Expand Down

0 comments on commit 276ce01

Please sign in to comment.