Skip to content

Commit

Permalink
update comment about the new parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
bdilman committed Jan 28, 2025
1 parent c7d4729 commit 1d89b01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/commander/ModeManagement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,8 @@ void ModeManagement::update(bool armed, uint8_t user_intended_nav_state, bool fa
}
}

// As we're disarmed we can use the user intended mode, as no failsafe will be active
// As we're disarmed we can use the user intended mode, as no failsafe will be active.
// Note that this might not be true if COM_MODE_ARM_CHK is set
checkNewRegistrations(update_request);
checkUnregistrations(user_intended_nav_state, update_request);
}
Expand Down

0 comments on commit 1d89b01

Please sign in to comment.