Sanitize
This commit is contained in:
@@ -290,9 +290,7 @@ void telemetryInit(uint8_t protocol)
|
|||||||
#if defined(LUA)
|
#if defined(LUA)
|
||||||
outputTelemetryBuffer.reset();
|
outputTelemetryBuffer.reset();
|
||||||
#endif
|
#endif
|
||||||
#if !defined(SIMU)
|
|
||||||
telemetryPortSetDirectionInput();
|
telemetryPortSetDirectionInput();
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
else if (protocol == PROTOCOL_TELEMETRY_SPEKTRUM) {
|
else if (protocol == PROTOCOL_TELEMETRY_SPEKTRUM) {
|
||||||
// Spektrum's own small race RX (SPM4648) uses 125000 8N1, use the same since there is no real standard
|
// Spektrum's own small race RX (SPM4648) uses 125000 8N1, use the same since there is no real standard
|
||||||
@@ -327,7 +325,7 @@ void telemetryInit(uint8_t protocol)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(AFHDS3) && !defined(SIMU)
|
#if defined(AFHDS3)
|
||||||
else if (protocol == PROTOCOL_TELEMETRY_AFHDS3) {
|
else if (protocol == PROTOCOL_TELEMETRY_AFHDS3) {
|
||||||
telemetryPortInvertedInit(AFHDS3_BAUDRATE);
|
telemetryPortInvertedInit(AFHDS3_BAUDRATE);
|
||||||
telemetryPortSetDirectionInput();
|
telemetryPortSetDirectionInput();
|
||||||
|
|||||||
Reference in New Issue
Block a user