mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_RSSI: Make the RSSI library an enable param tree
This commit is contained in:
parent
362fb470c4
commit
a1845783b5
@ -36,7 +36,7 @@ const AP_Param::GroupInfo AP_RSSI::var_info[] = {
|
|||||||
// @Description: Radio Receiver RSSI type. If your radio receiver supports RSSI of some kind, set it here, then set its associated RSSI_XXXXX parameters, if any.
|
// @Description: Radio Receiver RSSI type. If your radio receiver supports RSSI of some kind, set it here, then set its associated RSSI_XXXXX parameters, if any.
|
||||||
// @Values: 0:Disabled,1:AnalogPin,2:RCChannelPwmValue,3:ReceiverProtocol
|
// @Values: 0:Disabled,1:AnalogPin,2:RCChannelPwmValue,3:ReceiverProtocol
|
||||||
// @User: Standard
|
// @User: Standard
|
||||||
AP_GROUPINFO("TYPE", 0, AP_RSSI, rssi_type, BOARD_RSSI_DEFAULT),
|
AP_GROUPINFO_FLAGS("TYPE", 0, AP_RSSI, rssi_type, BOARD_RSSI_DEFAULT, AP_PARAM_FLAG_ENABLE),
|
||||||
|
|
||||||
// @Param: ANA_PIN
|
// @Param: ANA_PIN
|
||||||
// @DisplayName: Receiver RSSI analog sensing pin
|
// @DisplayName: Receiver RSSI analog sensing pin
|
||||||
|
Loading…
Reference in New Issue
Block a user