Cellular: Removed obsolete FEATURE_COMMON_PAL flag from trace

pull/6927/head
Ari Parkkila 2018-05-17 09:41:49 +03:00
parent 6a3dce839e
commit 3abfa4531f
2 changed files with 1 additions and 12 deletions

View File

@ -26,7 +26,7 @@
"*": {
"ppp-cell-iface.apn-lookup": false,
"cellular.use-apn-lookup": false,
"target.features_add": ["LWIP", "COMMON_PAL"],
"target.features_add": ["LWIP"],
"mbed-trace.enable": true,
"lwip.ipv4-enabled": true,
"lwip.ipv6-enabled": true,

View File

@ -24,22 +24,11 @@
#define FEA_TRACE_SUPPORT
#endif
#if defined(FEATURE_COMMON_PAL)
#include "mbed-trace/mbed_trace.h"
#ifndef TRACE_GROUP
#define TRACE_GROUP "CELL"
#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,
* implementation here is modified from that found from mbed_trace.