Skip to content

Commit 7f4dc90

Browse files
authored
Merge pull request #12815 from kivaisan/allow_debug_at_null
Cellular: Fix build problem if cellular.debug-at is set as null
2 parents 3f4e8e5 + 2f384e3 commit 7f4dc90

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

features/cellular/framework/device/ATHandler.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ using namespace mbed_cellular_util;
3535

3636
#include "CellularLog.h"
3737

38+
#ifndef MBED_CONF_CELLULAR_DEBUG_AT
39+
#define MBED_CONF_CELLULAR_DEBUG_AT 0
40+
#endif
41+
3842
// URCs should be handled fast, if you add debug traces within URC processing then you also need to increase this time
3943
#define PROCESS_URC_TIME 20
4044

features/cellular/mbed_lib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"value": 0
1515
},
1616
"debug-at": {
17-
"help": "Enable AT debug prints. Note! This can have impact on UART performance and might need increasing of drivers.uart-serial-rxbuf-size",
17+
"help": "Enable AT debug prints. Requires also mbed-trace to be enabled. Note! This can have impact on UART performance and might need increasing of drivers.uart-serial-rxbuf-size",
1818
"value": false
1919
},
2020
"radio-access-technology": {

0 commit comments

Comments
 (0)