From 0f3d94e8e80b4546cb308e2e2cdd7248810db5d9 Mon Sep 17 00:00:00 2001 From: Abdelatif Guettouche Date: Tue, 25 May 2021 14:33:20 +0100 Subject: [PATCH] arch/risc-v/src/esp32c3/esp32c3_rt_timer.h: Add section headers. Signed-off-by: Abdelatif Guettouche --- arch/risc-v/src/esp32c3/esp32c3_rt_timer.h | 12 ++++++++++++ arch/xtensa/src/esp32/esp32_rt_timer.h | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/risc-v/src/esp32c3/esp32c3_rt_timer.h b/arch/risc-v/src/esp32c3/esp32c3_rt_timer.h index aab51e39ca..2dfb7faccb 100644 --- a/arch/risc-v/src/esp32c3/esp32c3_rt_timer.h +++ b/arch/risc-v/src/esp32c3/esp32c3_rt_timer.h @@ -31,9 +31,17 @@ #include #include +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + #define RT_TIMER_NOFLAGS (0) /* Timer support no feature */ #define RT_TIMER_REPEAT (1 << 0) /* Timer is repeat */ +/**************************************************************************** + * Private Types + ****************************************************************************/ + /** * RT timer state */ @@ -80,6 +88,10 @@ extern "C" #define EXTERN extern #endif +/**************************************************************************** + * Public Function Prototypes + ****************************************************************************/ + /**************************************************************************** * Name: rt_timer_create * diff --git a/arch/xtensa/src/esp32/esp32_rt_timer.h b/arch/xtensa/src/esp32/esp32_rt_timer.h index afbeaee880..0cfefdfe3d 100644 --- a/arch/xtensa/src/esp32/esp32_rt_timer.h +++ b/arch/xtensa/src/esp32/esp32_rt_timer.h @@ -39,7 +39,7 @@ #define RT_TIMER_REPEAT (1 << 0) /* Timer is repeat */ /**************************************************************************** - * Private Types + * Public Types ****************************************************************************/ /**