initial fork from ublox
Dependencies: ublox-at-cellular-interface
Diff: UbloxATCellularInterfaceExt.cpp
- Revision:
- 10:3b24bc50cc06
- Parent:
- 5:9fd89567f769
- Child:
- 11:3631f62bb359
--- a/UbloxATCellularInterfaceExt.cpp Tue Jun 13 01:57:19 2017 +0100 +++ b/UbloxATCellularInterfaceExt.cpp Tue Jun 13 10:46:08 2017 +0100 @@ -19,10 +19,10 @@ #include "mbed_trace.h" #define TRACE_GROUP "UCAD" #else -#define tr_debug(format, ...) debug(format "\n", ## __VA_ARGS__) -#define tr_info(format, ...) debug(format "\n", ## __VA_ARGS__) -#define tr_warn(format, ...) debug(format "\n", ## __VA_ARGS__) -#define tr_error(format, ...) debug(format "\n", ## __VA_ARGS__) +#define tr_debug(format, ...) debug_if(_debug_trace_on, format "\n", ## __VA_ARGS__) +#define tr_info(format, ...) debug_if(_debug_trace_on, format "\n", ## __VA_ARGS__) +#define tr_warn(format, ...) debug_if(_debug_trace_on, format "\n", ## __VA_ARGS__) +#define tr_error(format, ...) debug_if(_debug_trace_on, format "\n", ## __VA_ARGS__) #endif /**********************************************************************