From 1cf9655b4ab01b8d68f78973f269513e96c136a0 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Fri, 27 Mar 2020 16:30:44 +0900 Subject: [PATCH] AP_VisualOdom: TYPE param becomes enable flag and reboot required --- libraries/AP_VisualOdom/AP_VisualOdom.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/AP_VisualOdom/AP_VisualOdom.cpp b/libraries/AP_VisualOdom/AP_VisualOdom.cpp index afcb302d5f..d5687624b1 100644 --- a/libraries/AP_VisualOdom/AP_VisualOdom.cpp +++ b/libraries/AP_VisualOdom/AP_VisualOdom.cpp @@ -29,7 +29,8 @@ const AP_Param::GroupInfo AP_VisualOdom::var_info[] = { // @Description: Visual odometry camera connection type // @Values: 0:None,1:MAV // @User: Advanced - AP_GROUPINFO("_TYPE", 0, AP_VisualOdom, _type, 0), + // @RebootRequired: True + AP_GROUPINFO_FLAGS("_TYPE", 0, AP_VisualOdom, _type, 0, AP_PARAM_FLAG_ENABLE), // @Param: _POS_X // @DisplayName: Visual odometry camera X position offset