From 6c1b2b929e6cc31075465f62074c1bceb88cb4d3 Mon Sep 17 00:00:00 2001 From: Gatsby Van Date: Thu, 21 Dec 2023 14:57:01 +0800 Subject: [PATCH] miscellaneous update. --- datalink814_ge/src/common.c | 7 ++++--- datalink814_ge/src/common.h | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) 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__)