Skip to content

Commit 378046e

Browse files
committed
mbed-trace: if fea-ipv6 is null, check nanostack-libservice availability
1 parent ca157c9 commit 378046e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

platform/mbed-trace/include/mbed-trace/mbed_trace.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ extern "C" {
6969
#define MBED_CONF_MBED_TRACE_ENABLE 0
7070
#endif
7171

72-
#ifndef MBED_CONF_MBED_TRACE_FEA_IPV6
72+
#if !defined(MBED_CONF_MBED_TRACE_FEA_IPV6) && MBED_CONF_NANOSTACK_LIBSERVICE_PRESENT
7373
#define MBED_CONF_MBED_TRACE_FEA_IPV6 1
7474
#endif
7575

platform/mbed-trace/source/mbed_trace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#undef MBED_CONF_MBED_TRACE_ENABLE
2222
#endif
2323
#define MBED_CONF_MBED_TRACE_ENABLE 1
24-
#ifndef MBED_CONF_MBED_TRACE_FEA_IPV6
24+
#if !defined(MBED_CONF_MBED_TRACE_FEA_IPV6) && MBED_CONF_NANOSTACK_LIBSERVICE_PRESENT
2525
#define MBED_CONF_MBED_TRACE_FEA_IPV6 1
2626
#endif
2727

0 commit comments

Comments
 (0)