1
0
mirror of https://github.com/apache/incubator-nuttx.git synced 2024-11-28 13:41:19 +08:00

rv64gc/riscv_assert.c: Fix compilation without CONFIG_DEBUG_ALERT

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
Jukka Laitinen 2021-05-18 08:46:22 +03:00 committed by Xiang Xiao
parent c9ccbb9e03
commit e79a45bb93

View File

@ -336,7 +336,7 @@ static int assert_tracecallback(FAR struct usbtrace_s *trace, FAR void *arg)
void up_assert(const char *filename, int lineno) void up_assert(const char *filename, int lineno)
{ {
#if CONFIG_TASK_NAME_SIZE > 0 && defined(CONFIG_DEBUG_ALERT) #if CONFIG_TASK_NAME_SIZE > 0
struct tcb_s *rtcb = running_task(); struct tcb_s *rtcb = running_task();
#endif #endif