mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_HAL_ESP32: bugfix RmtSigReader for idf - 4.4
This commit is contained in:
parent
41fc3a8dbb
commit
750ef597ff
@ -13,6 +13,7 @@ void RmtSigReader::init()
|
|||||||
config.clk_div = 80; //80MHZ APB clock to the 1MHZ target frequency
|
config.clk_div = 80; //80MHZ APB clock to the 1MHZ target frequency
|
||||||
config.gpio_num = HAL_ESP32_RCIN;
|
config.gpio_num = HAL_ESP32_RCIN;
|
||||||
config.mem_block_num = 2; //each block could store 64 pulses
|
config.mem_block_num = 2; //each block could store 64 pulses
|
||||||
|
config.flags = 0;
|
||||||
config.rx_config.filter_en = true;
|
config.rx_config.filter_en = true;
|
||||||
config.rx_config.filter_ticks_thresh = 8;
|
config.rx_config.filter_ticks_thresh = 8;
|
||||||
config.rx_config.idle_threshold = idle_threshold;
|
config.rx_config.idle_threshold = idle_threshold;
|
||||||
|
Loading…
Reference in New Issue
Block a user