mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
arch/arm/src/arm/arm_assert.c: Don't assume debug macro expansion
This commit is contained in:
committed by
Xiang Xiao
parent
c3791e7c23
commit
b18c2e6cc5
@@ -332,7 +332,7 @@ void up_assert(const char *filename, int lineno)
|
||||
|
||||
syslog_flush();
|
||||
|
||||
#if CONFIG_TASK_NAME_SIZE > 0
|
||||
#if CONFIG_TASK_NAME_SIZE > 0 && defined(CONFIG_DEBUG_ALERT)
|
||||
_alert("Assertion failed at file:%s line: %d task: %s\n",
|
||||
filename, lineno, rtcb->name);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user