From af1e3aa64d4e7dd561ab4dbe421c1d03f280a4d2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 1 Apr 2018 07:55:44 +1000 Subject: [PATCH] HAL_ChibiOS: increase timeout on bytes for blheli --- libraries/AP_HAL_ChibiOS/RCOutput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/RCOutput.cpp b/libraries/AP_HAL_ChibiOS/RCOutput.cpp index 587ff1e29a..2348b6b2a9 100644 --- a/libraries/AP_HAL_ChibiOS/RCOutput.cpp +++ b/libraries/AP_HAL_ChibiOS/RCOutput.cpp @@ -1081,7 +1081,7 @@ void RCOutput::serial_bit_irq(void) */ bool RCOutput::serial_read_byte(uint8_t &b) { - bool timed_out = ((chEvtWaitAnyTimeout(serial_event_mask, MS2ST(2)) & serial_event_mask) == 0); + bool timed_out = ((chEvtWaitAnyTimeout(serial_event_mask, MS2ST(10)) & serial_event_mask) == 0); uint16_t byteval = irq.byteval;