diff --git a/datalink814_ge/src/common.c b/datalink814_ge/src/common.c index 67ce4eb..29929e9 100644 --- a/datalink814_ge/src/common.c +++ b/datalink814_ge/src/common.c @@ -31,11 +31,12 @@ /*****************************************************************************/ /** - * @brief + * @brief Throw an assert. * - * @param + * @param file indicate the filename of the assertion + * @param line indicate which line the assertion occurs * - * @return + * @return NONE. * ******************************************************************************/ void AppAssert(const char * file, int line){ diff --git a/datalink814_ge/src/common.h b/datalink814_ge/src/common.h index ab7b523..fbf0ba5 100644 --- a/datalink814_ge/src/common.h +++ b/datalink814_ge/src/common.h @@ -2,11 +2,12 @@ /** * Description: Common definitions * - * Date: 2021-12-04 16:32 + * Date: 2023-12-21 16:32 * LastEditors: Fan Hao * LastEditTime: 2022-07-16 17:13 * Revisions: Rev 0.1 * History: + * [2023-12-21]: Ensure the code conform ISO C11 standard. * [2022-07-16]: New branch for Dijian. * [2021-11-16]: Initial version. * @@ -36,7 +37,7 @@ /* Stringify */ #define STR(x) #x -//#define _814_DEBUG_LEVEL 3 +#define _814_DEBUG_LEVEL 3 #if _814_DEBUG_LEVEL > 0 #define DBG_PRINT(...) printf(__VA_ARGS__)