From d310044a889d1f73331fe7a59a2cee35c9b96e10 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Tue, 8 Dec 2020 16:10:44 +0100 Subject: [PATCH] core/xfa: fix doxygen issues --- core/include/xfa.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/core/include/xfa.h b/core/include/xfa.h index 18609dccc4..fd669fbb24 100644 --- a/core/include/xfa.h +++ b/core/include/xfa.h @@ -28,7 +28,9 @@ * index out of bounds" warning. So until a solution for that is found, we * need to disable array bounds checks for files using XFAs. */ +#ifndef DOXYGEN _Pragma("GCC diagnostic ignored \"-Warray-bounds\"") +#endif /** * @brief helper macro for other XFA_* macros @@ -129,8 +131,8 @@ _Pragma("GCC diagnostic ignored \"-Warray-bounds\"") * * XFA(driver_params, 0) driver_params_t _onboard = { .pin=42 }; * - * @param[in] name name of the xfa - * @param[in] prio priority within the xfa + * @param[in] xfa_name name of the xfa + * @param[in] prio priority within the xfa */ #define XFA(xfa_name, prio) _XFA(xfa_name, 5_ ## prio) @@ -143,8 +145,8 @@ _Pragma("GCC diagnostic ignored \"-Warray-bounds\"") * * XFA(driver_params, 0) driver_params_t _onboard = { .pin=42 }; * - * @param[in] name name of the xfa - * @param[in] prio priority within the xfa + * @param[in] xfa_name name of the xfa + * @param[in] prio priority within the xfa */ #define XFA_CONST(xfa_name, prio) _XFA_CONST(xfa_name, 5_ ## prio) @@ -177,5 +179,5 @@ extern "C" { } #endif -/** @} */ #endif /* XFA_H */ +/** @} */