mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-01 03:25:15 +00:00
esp_rom: extract common uart apis into esp_rom_uart.h
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
#include <stdlib.h>
|
||||
#include "esp32/rom/ets_sys.h"
|
||||
#include "esp32/rom/rtc.h"
|
||||
#include "esp32/rom/uart.h"
|
||||
#include "esp_rom_uart.h"
|
||||
#include "soc/rtc.h"
|
||||
#include "soc/rtc_periph.h"
|
||||
#include "soc/sens_periph.h"
|
||||
@@ -104,7 +104,7 @@ void rtc_clk_init(rtc_clk_config_t cfg)
|
||||
xtal_freq, est_xtal_freq);
|
||||
}
|
||||
}
|
||||
uart_tx_wait_idle(0);
|
||||
esp_rom_uart_tx_wait_idle(0);
|
||||
rtc_clk_xtal_freq_update(xtal_freq);
|
||||
rtc_clk_apb_freq_update(xtal_freq * MHZ);
|
||||
|
||||
|
Reference in New Issue
Block a user