WiP
This commit is contained in:
@@ -257,7 +257,7 @@ static void processMultiSyncPacket(const uint8_t * data, uint8_t module)
|
||||
|
||||
status.update(refreshRate, inputLag);
|
||||
#if defined(DEBUG)
|
||||
serialPrint("MP ADJ: R %d, L %04d", refreshRate, inputLag);
|
||||
dbgSerialPrint("MP ADJ: R %d, L %04d", refreshRate, inputLag);
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -351,18 +351,8 @@ static void processMultiTelemetryPaket(const uint8_t * packet, uint8_t module)
|
||||
uint8_t len = packet[1];
|
||||
const uint8_t * data = packet + 2;
|
||||
|
||||
#if defined(AUX_SERIAL)
|
||||
if (g_eeGeneral.auxSerialMode == UART_MODE_TELEMETRY_MIRROR) {
|
||||
for (uint8_t c = 0; c < len + 2; c++)
|
||||
auxSerialPutc(packet[c]);
|
||||
}
|
||||
#endif
|
||||
#if defined(AUX2_SERIAL)
|
||||
if (g_eeGeneral.aux2SerialMode == UART_MODE_TELEMETRY_MIRROR) {
|
||||
for (uint8_t c = 0; c < len + 2; c++)
|
||||
aux2SerialPutc(packet[c]);
|
||||
}
|
||||
#endif
|
||||
for (uint8_t c = 0; c < len + 2; c++)
|
||||
telemetryMirrorSend(packet[c]);
|
||||
|
||||
// Switch type
|
||||
switch (type) {
|
||||
|
||||
Reference in New Issue
Block a user