From c6f1b426213207aa92bea0766304fb6d880272e2 Mon Sep 17 00:00:00 2001 From: muramura Date: Wed, 16 Oct 2024 01:00:25 +0900 Subject: [PATCH] AC_Avoidance: Change ENUM values to INT type --- libraries/AC_Avoidance/AP_OADatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AC_Avoidance/AP_OADatabase.cpp b/libraries/AC_Avoidance/AP_OADatabase.cpp index ac3c7d02c1042..4d0acdd016c1a 100644 --- a/libraries/AC_Avoidance/AP_OADatabase.cpp +++ b/libraries/AC_Avoidance/AP_OADatabase.cpp @@ -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(OutputLevel::HIGH)), // @Param: BEAM_WIDTH // @DisplayName: OADatabase beam width