No telemetry mirror exception for the MPM

Fixes #1104
This commit is contained in:
Raphael Coeffic
2022-03-20 16:30:59 +01:00
parent f4b1892b99
commit 4559dfc2b2
2 changed files with 1 additions and 6 deletions
-3
View File
@@ -351,9 +351,6 @@ static void processMultiTelemetryPaket(const uint8_t * packet, uint8_t module)
uint8_t len = packet[1]; uint8_t len = packet[1];
const uint8_t * data = packet + 2; const uint8_t * data = packet + 2;
for (uint8_t c = 0; c < len + 2; c++)
telemetryMirrorSend(packet[c]);
// Switch type // Switch type
switch (type) { switch (type) {
case MultiStatus: case MultiStatus:
+1 -3
View File
@@ -108,9 +108,7 @@ void telemetryMirrorSend(uint8_t data)
void processTelemetryData(uint8_t data) void processTelemetryData(uint8_t data)
{ {
if (telemetryProtocol != PROTOCOL_TELEMETRY_MULTIMODULE) { telemetryMirrorSend(data);
telemetryMirrorSend(data);
}
#if defined(CROSSFIRE) #if defined(CROSSFIRE)
if (telemetryProtocol == PROTOCOL_TELEMETRY_CROSSFIRE) { if (telemetryProtocol == PROTOCOL_TELEMETRY_CROSSFIRE) {