AP_RSSI: Make the RSSI library an enable param tree

This commit is contained in:
Michael du Breuil 2018-04-09 21:59:03 -07:00 committed by Francisco Ferreira
parent 362fb470c4
commit a1845783b5
1 changed files with 1 additions and 1 deletions

View File

@ -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.
// @Values: 0:Disabled,1:AnalogPin,2:RCChannelPwmValue,3:ReceiverProtocol
// @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
// @DisplayName: Receiver RSSI analog sensing pin