HAL_ChibiOS: increase timeout on bytes for blheli

This commit is contained in:
Andrew Tridgell 2018-04-01 07:55:44 +10:00
parent 756c0d4b0b
commit af1e3aa64d

View File

@ -1081,7 +1081,7 @@ void RCOutput::serial_bit_irq(void)
*/ */
bool RCOutput::serial_read_byte(uint8_t &b) 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; uint16_t byteval = irq.byteval;