mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 06:45:16 +03:00
Fix for: serial buffer broke BLHeli 1wire pass through
This commit is contained in:
parent
3f261970c5
commit
2af929797d
1 changed files with 2 additions and 0 deletions
|
@ -1756,6 +1756,8 @@ static bool processInCommand(void)
|
||||||
// proceed with a success reply first
|
// proceed with a success reply first
|
||||||
headSerialReply(0);
|
headSerialReply(0);
|
||||||
tailSerialReply();
|
tailSerialReply();
|
||||||
|
// flush the transmit buffer
|
||||||
|
bufWriterFlush(writer);
|
||||||
// wait for all data to send
|
// wait for all data to send
|
||||||
waitForSerialPortToFinishTransmitting(currentPort->port);
|
waitForSerialPortToFinishTransmitting(currentPort->port);
|
||||||
// Start to activate here
|
// Start to activate here
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue