1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 23:05:19 +03:00

Fix frsky telemetry which was needlessly checking for incoming data.

Maybe it needs to check that the serial port has SENT the data?
This commit is contained in:
Dominic Clifton 2015-02-19 00:30:52 +00:00
parent 06a8d0c8cf
commit 00f04e0ea2
2 changed files with 2 additions and 10 deletions

View file

@ -288,6 +288,8 @@ void closeSerialPort(serialPort_t *serialPort) {
return;
}
// TODO wait until data has been transmitted.
serialPort->callback = NULL;
serialPortUsage->function = FUNCTION_NONE;