From 06d26aaaa7f98c4d7ba59308d86e3e3a8f85d07d Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Sat, 28 Jul 2018 13:31:08 +0900 Subject: [PATCH] AP_RSSI: clarify PIN_LOW/HIGH parameter description --- libraries/AP_RSSI/AP_RSSI.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libraries/AP_RSSI/AP_RSSI.cpp b/libraries/AP_RSSI/AP_RSSI.cpp index 3a98998c1a..7d83921b21 100644 --- a/libraries/AP_RSSI/AP_RSSI.cpp +++ b/libraries/AP_RSSI/AP_RSSI.cpp @@ -47,8 +47,8 @@ const AP_Param::GroupInfo AP_RSSI::var_info[] = { AP_GROUPINFO("ANA_PIN", 1, AP_RSSI, rssi_analog_pin, BOARD_RSSI_ANA_PIN), // @Param: PIN_LOW - // @DisplayName: Receiver RSSI voltage low - // @Description: This is the voltage value that the radio receiver will put on the RSSI_ANA_PIN when the signal strength is the weakest. Since some radio receivers put out inverted values from what you might otherwise expect, this isn't necessarily a lower value than RSSI_PIN_HIGH. + // @DisplayName: RSSI pin's lowest voltage + // @Description: RSSI pin's voltage received on the RSSI_ANA_PIN when the signal strength is the weakest. Some radio receivers put out inverted values so this value may be higher than RSSI_PIN_HIGH // @Units: V // @Increment: 0.01 // @Range: 0 5.0 @@ -56,8 +56,8 @@ const AP_Param::GroupInfo AP_RSSI::var_info[] = { AP_GROUPINFO("PIN_LOW", 2, AP_RSSI, rssi_analog_pin_range_low, 0.0f), // @Param: PIN_HIGH - // @DisplayName: Receiver RSSI voltage high - // @Description: This is the voltage value that the radio receiver will put on the RSSI_ANA_PIN when the signal strength is the strongest. Since some radio receivers put out inverted values from what you might otherwise expect, this isn't necessarily a higher value than RSSI_PIN_LOW. + // @DisplayName: RSSI pin's highest voltage + // @Description: RSSI pin's voltage received on the RSSI_ANA_PIN when the signal strength is the strongest. Some radio receivers put out inverted values so this value may be lower than RSSI_PIN_LOW // @Units: V // @Increment: 0.01 // @Range: 0 5.0 @@ -67,7 +67,7 @@ const AP_Param::GroupInfo AP_RSSI::var_info[] = { // @Param: CHANNEL // @DisplayName: Receiver RSSI channel number // @Description: The channel number where RSSI will be output by the radio receiver (5 and above). - // @Units: + // @Range: 0 16 // @User: Standard AP_GROUPINFO("CHANNEL", 4, AP_RSSI, rssi_channel, 0),