Skip to content

Commit

Permalink
AC_Avoidance: Change ENUM values to INT type
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura committed Oct 15, 2024
1 parent a4810cf commit c6f1b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AC_Avoidance/AP_OADatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const AP_Param::GroupInfo AP_OADatabase::var_info[] = {
// @Description: OADatabase output level to configure which database objects are sent to the ground station. All data is always available internally for avoidance algorithms.
// @Values: 0:Disabled,1:Send only HIGH importance items,2:Send HIGH and NORMAL importance items,3:Send all items
// @User: Advanced
AP_GROUPINFO("OUTPUT", 4, AP_OADatabase, _output_level, (float)OutputLevel::HIGH),
AP_GROUPINFO("OUTPUT", 4, AP_OADatabase, _output_level, static_cast<int32_t>(OutputLevel::HIGH)),

// @Param: BEAM_WIDTH
// @DisplayName: OADatabase beam width
Expand Down

0 comments on commit c6f1b42

Please sign in to comment.