AP_OpticalFlow: TYPE param becomes enable flag

This commit is contained in:
Tatsuya Yamaguchi 2021-04-30 20:22:35 +09:00 committed by Randy Mackay
parent f9866dc27e
commit c06ed9f7f5
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ const AP_Param::GroupInfo OpticalFlow::var_info[] = {
// @Values: 0:None, 1:PX4Flow, 2:Pixart, 3:Bebop, 4:CXOF, 5:MAVLink, 6:UAVCAN, 7:MSP, 8:UPFLOW
// @User: Standard
// @RebootRequired: True
AP_GROUPINFO("_TYPE", 0, OpticalFlow, _type, (int8_t)OPTICAL_FLOW_TYPE_DEFAULT),
AP_GROUPINFO_FLAGS("_TYPE", 0, OpticalFlow, _type, (int8_t)OPTICAL_FLOW_TYPE_DEFAULT, AP_PARAM_FLAG_ENABLE),
// @Param: _FXSCALER
// @DisplayName: X axis optical flow scale factor correction