mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
AP_OpticalFlow: TYPE param becomes enable flag
This commit is contained in:
parent
f9866dc27e
commit
c06ed9f7f5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user