mirror of https://github.com/ARMmbed/mbed-os.git
Cellular: Removed obsolete FEATURE_COMMON_PAL flag from trace
parent
6a3dce839e
commit
3abfa4531f
|
@ -26,7 +26,7 @@
|
||||||
"*": {
|
"*": {
|
||||||
"ppp-cell-iface.apn-lookup": false,
|
"ppp-cell-iface.apn-lookup": false,
|
||||||
"cellular.use-apn-lookup": false,
|
"cellular.use-apn-lookup": false,
|
||||||
"target.features_add": ["LWIP", "COMMON_PAL"],
|
"target.features_add": ["LWIP"],
|
||||||
"mbed-trace.enable": true,
|
"mbed-trace.enable": true,
|
||||||
"lwip.ipv4-enabled": true,
|
"lwip.ipv4-enabled": true,
|
||||||
"lwip.ipv6-enabled": true,
|
"lwip.ipv6-enabled": true,
|
||||||
|
|
|
@ -24,22 +24,11 @@
|
||||||
#define FEA_TRACE_SUPPORT
|
#define FEA_TRACE_SUPPORT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(FEATURE_COMMON_PAL)
|
|
||||||
|
|
||||||
#include "mbed-trace/mbed_trace.h"
|
#include "mbed-trace/mbed_trace.h"
|
||||||
#ifndef TRACE_GROUP
|
#ifndef TRACE_GROUP
|
||||||
#define TRACE_GROUP "CELL"
|
#define TRACE_GROUP "CELL"
|
||||||
#endif // TRACE_GROUP
|
#endif // TRACE_GROUP
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
#define tr_debug(...) (void(0))
|
|
||||||
#define tr_info(...) (void(0))
|
|
||||||
#define tr_error(...) (void(0))
|
|
||||||
#define tr_warn(...) (void(0))
|
|
||||||
|
|
||||||
#endif // FEATURE_COMMON_PAL
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set mutex wait/release functions for 'tr_' macros,
|
* Set mutex wait/release functions for 'tr_' macros,
|
||||||
* implementation here is modified from that found from mbed_trace.
|
* implementation here is modified from that found from mbed_trace.
|
||||||
|
|
Loading…
Reference in New Issue