From f9ab7e54d407a6d384e08b209db1443d573b2036 Mon Sep 17 00:00:00 2001 From: Siddharth Purohit Date: Fri, 13 Jul 2018 20:20:17 +0530 Subject: [PATCH] HAL_ChibiOS: increase sigread buffer size for protocols with longer length --- libraries/AP_HAL_ChibiOS/SoftSigReader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/SoftSigReader.h b/libraries/AP_HAL_ChibiOS/SoftSigReader.h index 61af139f74..13c1147165 100644 --- a/libraries/AP_HAL_ChibiOS/SoftSigReader.h +++ b/libraries/AP_HAL_ChibiOS/SoftSigReader.h @@ -23,7 +23,7 @@ #if HAL_USE_ICU == TRUE #define INPUT_CAPTURE_FREQUENCY 1000000 //capture unit in microseconds -#define MAX_SIGNAL_TRANSITIONS 256 +#define MAX_SIGNAL_TRANSITIONS 512 #define DEFAULT_BOUNCE_BUF_SIZE 32 class ChibiOS::SoftSigReader {