From 750ef597ff15c72a7ca9c01c47cfe310017e6307 Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 14 Mar 2024 14:20:01 +0200 Subject: [PATCH] AP_HAL_ESP32: bugfix RmtSigReader for idf - 4.4 --- libraries/AP_HAL_ESP32/RmtSigReader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_HAL_ESP32/RmtSigReader.cpp b/libraries/AP_HAL_ESP32/RmtSigReader.cpp index c7d73b4032..c0b1e2c1a5 100644 --- a/libraries/AP_HAL_ESP32/RmtSigReader.cpp +++ b/libraries/AP_HAL_ESP32/RmtSigReader.cpp @@ -13,6 +13,7 @@ void RmtSigReader::init() config.clk_div = 80; //80MHZ APB clock to the 1MHZ target frequency config.gpio_num = HAL_ESP32_RCIN; config.mem_block_num = 2; //each block could store 64 pulses + config.flags = 0; config.rx_config.filter_en = true; config.rx_config.filter_ticks_thresh = 8; config.rx_config.idle_threshold = idle_threshold;