doc: kernel_event_logger: fix complain about @defgroup

Doxygen complained about @defgroup not closing. Fix it by moving
code around, as doxygen was confused by all the #ifdef-#endif.

Change-Id: Iacc2e983cc82b0dfcaaea423ff64bdcc4db8577f
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2016-04-15 13:26:16 -07:00 committed by Anas Nashif
commit 623af156f9

View file

@ -25,6 +25,12 @@
#ifndef __KERNEL_EVENT_LOGGER_H__
#define __KERNEL_EVENT_LOGGER_H__
/**
* @brief Kernel Event Logger
* @defgroup nanokernel_event_logger Kernel Event Logger
* @{
*/
#ifdef __cplusplus
extern "C" {
#endif
@ -49,12 +55,6 @@ extern "C" {
#define KERNEL_EVENT_LOGGER_TASK_MON_KEVENT_EVENT_ID 0x0006
#endif
/**
* @brief Kernel Event Logger
* @defgroup nanokernel_event_logger Kernel Event Logger
* @{
*/
#ifndef _ASMLANGUAGE
/**
@ -204,14 +204,14 @@ static inline void _sys_k_event_logger_enter_sleep(void) {};
#endif /* _ASMLANGUAGE */
/**
* @}
*/
#endif /* CONFIG_KERNEL_EVENT_LOGGER */
#ifdef __cplusplus
}
#endif
/**
* @}
*/
#endif /* __KERNEL_EVENT_LOGGER_H__ */