Browse Source

AP_RSSI: Make the RSSI library an enable param tree

master
Michael du Breuil 7 years ago committed by Francisco Ferreira
parent
commit
a1845783b5
  1. 2
      libraries/AP_RSSI/AP_RSSI.cpp

2
libraries/AP_RSSI/AP_RSSI.cpp

@ -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…
Cancel
Save