rtc: Add missing esp_rom_sys.h header in rtc clk

rtc_clk.c for esp32, esp32s2 and esp32s3 did not include the
esp_rom_sys.h header which could cause implicit declaration issues for
some function calls.
This commit is contained in:
Almir Okato 2021-07-01 12:50:14 -03:00
parent 0e31332693
commit 06a849b33e
3 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,7 @@
#include "soc/gpio_struct.h"
#include "hal/cpu_hal.h"
#include "hal/gpio_ll.h"
#include "esp_rom_sys.h"
#include "regi2c_ctrl.h"
#include "soc_log.h"
#include "sdkconfig.h"

View File

@ -27,6 +27,7 @@
#include "soc/dport_reg.h"
#include "soc/efuse_reg.h"
#include "soc/syscon_reg.h"
#include "esp_rom_sys.h"
#include "regi2c_ctrl.h"
#include "soc_log.h"
#include "rtc_clk_common.h"

View File

@ -28,6 +28,7 @@
#include "soc/efuse_reg.h"
#include "soc/syscon_reg.h"
#include "soc/system_reg.h"
#include "esp_rom_sys.h"
#include "regi2c_ctrl.h"
#include "soc_log.h"
#include "rtc_clk_common.h"