mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 13:52:22 +08:00
debug: allow customize EXTRA_FMT
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
+7
-2
@@ -78,11 +78,16 @@
|
||||
* really intended only for crash error reporting.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_HAVE_FUNCTIONNAME
|
||||
#if !defined(EXTRA_FMT) && !defined(EXTRA_ARG) && defined(CONFIG_HAVE_FUNCTIONNAME)
|
||||
# define EXTRA_FMT "%s: "
|
||||
# define EXTRA_ARG ,__FUNCTION__
|
||||
#else
|
||||
#endif
|
||||
|
||||
#ifndef EXTRA_FMT
|
||||
# define EXTRA_FMT
|
||||
#endif
|
||||
|
||||
#ifndef EXTRA_ARG
|
||||
# define EXTRA_ARG
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user