From 2af929797d0bdcb426e95a98f0aef447d781275c Mon Sep 17 00:00:00 2001 From: 4712 <4712@outlook.de> Date: Wed, 10 Feb 2016 10:48:29 +0100 Subject: [PATCH] Fix for: serial buffer broke BLHeli 1wire pass through --- src/main/io/serial_msp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/io/serial_msp.c b/src/main/io/serial_msp.c index 00698f3780..cb70ec5578 100644 --- a/src/main/io/serial_msp.c +++ b/src/main/io/serial_msp.c @@ -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