rtc_clk: Clean up some clock related enum and macro in soc/rtc.h, replace with new ones in

soc/clk_tree_defs.h
This commit is contained in:
songruojing
2022-04-21 18:24:03 +08:00
parent 436085de51
commit a5b09cf015
73 changed files with 649 additions and 1006 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