File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -733,9 +733,9 @@ class AP_Mission
733
733
disarm and mission logic should stop
734
734
*/
735
735
enum class Option {
736
- CLEAR_ON_BOOT = 0 , // clear mission on vehicle boot
737
- FAILSAFE_TO_BEST_LANDING = 1 , // on failsafe, find fastest path along mission home
738
- CONTINUE_AFTER_LAND = 2 , // continue running mission (do not disarm) after land if takeoff is next waypoint
736
+ CLEAR_ON_BOOT = ( 1U << 0 ), // clear mission on vehicle boot
737
+ FAILSAFE_TO_BEST_LANDING = ( 1U << 1 ), // on failsafe, find fastest path along mission home
738
+ CONTINUE_AFTER_LAND = ( 1U << 2 ), // continue running mission (do not disarm) after land if takeoff is next waypoint
739
739
};
740
740
bool option_is_set (Option option) const {
741
741
return (_options.get () & (uint16_t )option) != 0 ;
You can’t perform that action at this time.
0 commit comments