fix: MPM disable telemetry user choice ignored (#5286)
Option is currently only shown on FrSky radios, hence they are susceptible to this bug
This commit is contained in:
@@ -137,7 +137,7 @@ static void setupPulsesMulti(uint8_t*& p_buf, uint8_t module)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Invert telemetry if needed
|
// Invert telemetry if needed
|
||||||
uint8_t disableTelemetry = modulePortHasRx(module) ? 0 : 1;
|
uint8_t disableTelemetry = g_model.moduleData[module].multi.disableTelemetry || (modulePortHasRx(module) ? 0 : 1);
|
||||||
if (invert[module] & 0x80 && !disableTelemetry) {
|
if (invert[module] & 0x80 && !disableTelemetry) {
|
||||||
if (getMultiModuleStatus(module).isValid()) {
|
if (getMultiModuleStatus(module).isValid()) {
|
||||||
invert[module] &= 0x08; // Telemetry received, stop searching
|
invert[module] &= 0x08; // Telemetry received, stop searching
|
||||||
|
|||||||
Reference in New Issue
Block a user