From d6cb1e3465e1736fd69a5ebb9c7b5eb7a33db8c6 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Thu, 25 Jun 2015 17:11:40 +0800 Subject: [PATCH] [Util] Add logtrace into components auto-initialization --- components/utilities/logtrace/log_trace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/utilities/logtrace/log_trace.c b/components/utilities/logtrace/log_trace.c index 4c54adfd0d..1da3f70b08 100644 --- a/components/utilities/logtrace/log_trace.c +++ b/components/utilities/logtrace/log_trace.c @@ -391,6 +391,7 @@ int log_trace_init(void) return 0; } +INIT_DEVICE_EXPORT(log_trace_init); rt_device_t log_trace_get_device(void) {