AP_VisualOdom: TYPE param becomes enable flag and reboot required

This commit is contained in:
Randy Mackay 2020-03-27 16:30:44 +09:00
parent 61a06bbb04
commit 1cf9655b4a

View File

@ -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