From 754c051aa5f9eeac88a1048674e18b66762af1da Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Mon, 11 Jan 2021 20:42:09 +0000 Subject: [PATCH] AP_HAL_ChibiOS: don't timeout after 11 bits on serial irqs --- libraries/AP_HAL_ChibiOS/RCOutput.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/RCOutput.cpp b/libraries/AP_HAL_ChibiOS/RCOutput.cpp index 49c7924656..0e7e635b43 100644 --- a/libraries/AP_HAL_ChibiOS/RCOutput.cpp +++ b/libraries/AP_HAL_ChibiOS/RCOutput.cpp @@ -1353,11 +1353,6 @@ void RCOutput::serial_bit_irq(void) irq.nbits = 1; irq.byte_start_tick = now; irq.bitmask = 0; - // setup a timeout for 11 bits width, so we aren't left - // waiting at the end of bytes - chSysLockFromISR(); - chVTSetI(&irq.serial_timeout, irq.bit_time_tick*11, serial_byte_timeout, irq.waiter); - chSysUnlockFromISR(); } } else { systime_t dt = now - irq.byte_start_tick;