mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 20:10:18 +03:00
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
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ void handleMSPTelemetry(void)
|
|||
|
||||
void freeMSPTelemetryPort(void)
|
||||
{
|
||||
mspReleasePortIfAllocated(mspTelemetryPort);
|
||||
closeSerialPort(mspTelemetryPort);
|
||||
mspTelemetryPort = NULL;
|
||||
mspTelemetryEnabled = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue