Skip to content

Commit 3abfa45

Browse files
author
Ari Parkkila
committed
Cellular: Removed obsolete FEATURE_COMMON_PAL flag from trace
1 parent 6a3dce8 commit 3abfa45

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

features/cellular/TESTS/socket/udp/template_mbed_app.json.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"*": {
2727
"ppp-cell-iface.apn-lookup": false,
2828
"cellular.use-apn-lookup": false,
29-
"target.features_add": ["LWIP", "COMMON_PAL"],
29+
"target.features_add": ["LWIP"],
3030
"mbed-trace.enable": true,
3131
"lwip.ipv4-enabled": true,
3232
"lwip.ipv6-enabled": true,

features/cellular/framework/common/CellularLog.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,11 @@
2424
#define FEA_TRACE_SUPPORT
2525
#endif
2626

27-
#if defined(FEATURE_COMMON_PAL)
28-
2927
#include "mbed-trace/mbed_trace.h"
3028
#ifndef TRACE_GROUP
3129
#define TRACE_GROUP "CELL"
3230
#endif // TRACE_GROUP
3331

34-
#else
35-
36-
#define tr_debug(...) (void(0))
37-
#define tr_info(...) (void(0))
38-
#define tr_error(...) (void(0))
39-
#define tr_warn(...) (void(0))
40-
41-
#endif // FEATURE_COMMON_PAL
42-
4332
/**
4433
* Set mutex wait/release functions for 'tr_' macros,
4534
* implementation here is modified from that found from mbed_trace.

0 commit comments

Comments
 (0)