Fix release of MSP port when MSP and MSP telemetry are used on the same
port.
This commit is contained in:
parent
d4dd1f6a58
commit
d51a2fbd88
|
@ -84,6 +84,7 @@ void handleMSPTelemetry(void)
|
|||
|
||||
void freeMSPTelemetryPort(void)
|
||||
{
|
||||
mspReleasePortIfAllocated(mspTelemetryPort);
|
||||
closeSerialPort(mspTelemetryPort);
|
||||
mspTelemetryPort = NULL;
|
||||
mspTelemetryEnabled = false;
|
||||
|
|
Loading…
Reference in New Issue