mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-10 01:22:45 +00:00
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 <unicorn_wang@outlook.com>
This commit is contained in:
@@ -14,10 +14,7 @@
|
|||||||
#include <rtdevice.h>
|
#include <rtdevice.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @defgroup group_clk clk
|
* @addtogroup group_driver_clock
|
||||||
* @brief clk driver api
|
|
||||||
* @ingroup group_device_driver
|
|
||||||
* @addtogroup group_clk
|
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -18,10 +18,13 @@
|
|||||||
#include <drivers/ofw.h>
|
#include <drivers/ofw.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @defgroup group_clk clk
|
* @defgroup group_driver_clock Clock
|
||||||
* @brief clk driver api
|
* @brief Clock driver API
|
||||||
* @ingroup group_device_driver
|
* @ingroup group_device_driver
|
||||||
* @addtogroup group_clk
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @addtogroup group_driver_clock
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user