miscellaneous update.

This commit is contained in:
Gatsby Van
2023-12-21 14:57:01 +08:00
parent 955478d01d
commit 6c1b2b929e
2 changed files with 7 additions and 5 deletions
+4 -3
View File
@@ -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){ void AppAssert(const char * file, int line){
+3 -2
View File
@@ -2,11 +2,12 @@
/** /**
* Description: Common definitions * Description: Common definitions
* *
* Date: 2021-12-04 16:32 * Date: 2023-12-21 16:32
* LastEditors: Fan Hao * LastEditors: Fan Hao
* LastEditTime: 2022-07-16 17:13 * LastEditTime: 2022-07-16 17:13
* Revisions: Rev 0.1 * Revisions: Rev 0.1
* History: * History:
* [2023-12-21]: Ensure the code conform ISO C11 standard.
* [2022-07-16]: New branch for Dijian. * [2022-07-16]: New branch for Dijian.
* [2021-11-16]: Initial version. * [2021-11-16]: Initial version.
* *
@@ -36,7 +37,7 @@
/* Stringify */ /* Stringify */
#define STR(x) #x #define STR(x) #x
//#define _814_DEBUG_LEVEL 3 #define _814_DEBUG_LEVEL 3
#if _814_DEBUG_LEVEL > 0 #if _814_DEBUG_LEVEL > 0
#define DBG_PRINT(...) printf(__VA_ARGS__) #define DBG_PRINT(...) printf(__VA_ARGS__)