esp32xx_rtc: Include "clock/clock.h" to have a declaration of

g_basetime.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche
2021-11-26 15:23:47 -03:00
committed by Gustavo Henrique Nihei
parent af11cf6cd1
commit 251b8a3445
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -29,6 +29,8 @@
#include <nuttx/arch.h>
#include <nuttx/spinlock.h>
#include "clock/clock.h"
#include "riscv_arch.h"
#include "hardware/esp32c3_rtccntl.h"
@@ -47,11 +49,12 @@
#include "hardware/extmem_reg.h"
#include "hardware/spi_mem_reg.h"
#include "esp32c3_rtc.h"
#include "esp32c3_clockconfig.h"
#include "esp32c3_attr.h"
#include "esp32c3_rt_timer.h"
#include "esp32c3_rtc.h"
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
+4 -1
View File
@@ -29,7 +29,8 @@
#include <nuttx/arch.h>
#include <nuttx/spinlock.h>
#include "esp32_rtc.h"
#include "clock/clock.h"
#include "esp32_clockconfig.h"
#include "esp32_rt_timer.h"
@@ -40,6 +41,8 @@
#include "xtensa.h"
#include "xtensa_attr.h"
#include "esp32_rtc.h"
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/