Skip to content

Commit

Permalink
Add default value for the flags parameter of the rmt_config
Browse files Browse the repository at this point in the history
  • Loading branch information
morcibacsi committed Jan 23, 2024
1 parent bc0622e commit ff7087b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Esp32RmtReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ int32_t Esp32RmtReader::Start()
rmt_rx.clk_div = _clkDiv; //80 = 1 MHz, 1 us - we take samples every 1 microseconds
rmt_rx.mem_block_num = _memoryBlocks;
rmt_rx.rmt_mode = RMT_MODE_RX;
rmt_rx.flags = 0;

rmt_rx.rx_config.filter_en = false;
rmt_rx.rx_config.filter_ticks_thresh = 0;
Expand Down

0 comments on commit ff7087b

Please sign in to comment.