This commit is contained in:
2026-05-21 08:07:16 +08:00
parent 90908cf018
commit 84d8874a38
32 changed files with 271 additions and 27 deletions
+1
View File
@@ -67,6 +67,7 @@
*/
#define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
/* Exported functions ------------------------------------------------------- */
/* 函数作用:在开启断言检查时报告参数断言失败所在的文件和行号。 */
void assert_failed(uint8_t* file, uint32_t line);
#else
#define assert_param(expr) ((void)0)