XinStellaris commented on code in PR #7808: URL: https://github.com/apache/nuttx/pull/7808#discussion_r1042860903
########## arch/arm/src/common/arm_assert.c: ########## @@ -520,39 +489,12 @@ void up_assert(const char *filename, int lineno) { board_autoled_on(LED_ASSERTION); - /* Flush any buffered SYSLOG data (prior to the assertion) */ - - syslog_flush(); - - _alert("Assertion failed " -#ifdef CONFIG_SMP - "CPU%d " -#endif - "at file:%s line: %d" -#if CONFIG_TASK_NAME_SIZE > 0 - " task: %s" -#endif - "\n", -#ifdef CONFIG_SMP - up_cpu_index(), -#endif - filename, lineno -#if CONFIG_TASK_NAME_SIZE > 0 - , running_task()->name -#endif - ); - #ifdef CONFIG_ARCH_STACKDUMP arm_dumpstate(); Review Comment: Maybe another patch? this is also lots of modification -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org