Control Zero F7 - RSSI Fix - SBUS Only/PPM Partial

This fixes RSSI for the Control Zero F7 but I have noticed that while this works perfectly for SBUS receivers, for PPM receivers it does not decrease the RSSI visual value in QGC when removing the RC transmitter connection.

When a PPM receiver is connected and the connection is lost the autopilot goes into RC Scan Mode (in the RC Update Module) to determine what is connected (even though something already is connected).

The main issue with this is that PPM receivers don't go into RC Failsafe but I don't think it is an issue with this autopilot. It looks to be an issue with the RC Update Module and how it is handled at the module level for non I/O coprocessor autopilots. 


Tested with an X8R (SBUS) and a Dragonlink (PPM) as well as a Dragonlink set to SBUS as the output. SBUS worked as intended. See screenshots below.
This commit is contained in:
Ryan Johnston 2021-01-19 13:16:17 -06:00 committed by Lorenz Meier
parent ac8f4e3c48
commit cea8ad4236

View File

@ -87,13 +87,13 @@
#define ADC_BATTERY_VOLTAGE_CHANNEL /* PA2 */ ADC1_CH(2)
#define ADC_BATTERY_CURRENT_CHANNEL /* PA3 */ ADC1_CH(3)
#define ADC_SCALED_V5_CHANNEL /* PA4 */ ADC1_CH(4)
#define ADC_RSSI_IN_CHANNEL /* PC1 */ ADC1_CH(11)
#define ADC_RC_RSSI_CHANNEL /* PC1 */ ADC1_CH(11)
#define ADC_CHANNELS \
((1 << ADC_BATTERY_VOLTAGE_CHANNEL) | \
(1 << ADC_BATTERY_CURRENT_CHANNEL) | \
(1 << ADC_SCALED_V5_CHANNEL) | \
(1 << ADC_RSSI_IN_CHANNEL))
(1 << ADC_RC_RSSI_CHANNEL))
/* Define Battery 1 Voltage Divider and A per V */
#define BOARD_BATTERY1_V_DIV (18.1f) /* measured with the provided PM board */