mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-07 17:08:49 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user