Merge pull request #12815 from kivaisan/allow_debug_at_null

Cellular: Fix build problem if cellular.debug-at is set as null
pull/12817/head
Martin Kojtal 2020-04-16 15:02:41 +02:00 committed by GitHub
commit 7f4dc90853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -35,6 +35,10 @@ using namespace mbed_cellular_util;
#include "CellularLog.h" #include "CellularLog.h"
#ifndef MBED_CONF_CELLULAR_DEBUG_AT
#define MBED_CONF_CELLULAR_DEBUG_AT 0
#endif
// URCs should be handled fast, if you add debug traces within URC processing then you also need to increase this time // URCs should be handled fast, if you add debug traces within URC processing then you also need to increase this time
#define PROCESS_URC_TIME 20 #define PROCESS_URC_TIME 20

View File

@ -14,7 +14,7 @@
"value": 0 "value": 0
}, },
"debug-at": { "debug-at": {
"help": "Enable AT debug prints. Note! This can have impact on UART performance and might need increasing of drivers.uart-serial-rxbuf-size", "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",
"value": false "value": false
}, },
"radio-access-technology": { "radio-access-technology": {