From 895b272b69deee7239176fcdba3dba8083e37acb Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Tue, 22 Jul 2025 15:46:21 +0800 Subject: doxygen: fix duplicated defgroup for clock Problen: Duplicated definition of group_clk in clk.c and clk.h. Solution: Delete the definition in clk.c and keep only the definition in clk.h. Also change the name of group_clk to group_driver_clock to conform to the naming convention of other driver groups. Signed-off-by: Chen Wang --- components/drivers/include/drivers/clk.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'components/drivers/include') diff --git a/components/drivers/include/drivers/clk.h b/components/drivers/include/drivers/clk.h index 51e7a92431..26da4d8720 100644 --- a/components/drivers/include/drivers/clk.h +++ b/components/drivers/include/drivers/clk.h @@ -18,10 +18,13 @@ #include /** - * @defgroup group_clk clk - * @brief clk driver api + * @defgroup group_driver_clock Clock + * @brief Clock driver API * @ingroup group_device_driver - * @addtogroup group_clk + */ + +/** + * @addtogroup group_driver_clock * @{ */ -- cgit v1.3.1