Merge branch 'refactor/cleanup_rtc_h' into 'master'

clk_tree: Prework2 of introducing clock subsystem control

Closes IDF-4934

See merge request espressif/esp-idf!17861
This commit is contained in:
Song Ruo Jing
2022-05-26 09:16:47 +08:00
83 changed files with 1156 additions and 1186 deletions

View File

@@ -77,7 +77,7 @@ void ref_clock_init(void)
// Initialize RMT
rmt_tx_channel_config_t tx_chan_config = {
.clk_src = RMT_CLK_SRC_APB_F1M, // REF_TICK clock source
.clk_src = RMT_CLK_SRC_REF_TICK, // REF_TICK clock source
.gpio_num = REF_CLOCK_GPIO,
.mem_block_symbols = 64,
.resolution_hz = 10000, // channel resolution doesn't really matter, because we only utilize the carrier