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

Fix for: serial buffer broke BLHeli 1wire pass through

This commit is contained in:
4712 2016-02-10 10:48:29 +01:00 committed by borisbstyle
parent 3f261970c5
commit 2af929797d

View file

@ -1756,6 +1756,8 @@ static bool processInCommand(void)
// proceed with a success reply first
headSerialReply(0);
tailSerialReply();
// flush the transmit buffer
bufWriterFlush(writer);
// wait for all data to send
waitForSerialPortToFinishTransmitting(currentPort->port);
// Start to activate here