support library for C027 helper functions for Buffer Pipes, Buffered Serial Port (rtos capable) and GPS parsing. It includes modem APIs for USSD, SMS and Sockets.
Fork of C027_Support by
Diff: MDM.cpp
- Revision:
- 139:7ba694cb0f9d
- Parent:
- 137:6a7a5c4f35f6
--- a/MDM.cpp Thu Feb 25 13:22:34 2016 +0000 +++ b/MDM.cpp Mon Oct 03 12:14:48 2016 +0000 @@ -2038,6 +2038,8 @@ // ---------------------------------------------------------------- bool MDMParser::setDebug(int level) { + int _debugLevel = 0; // to compile on all platforms + //int _debugLevel = 0; #ifdef MDM_DEBUG _debugLevel = (level < -1) ? -1 : (level > 3) ? 3 : @@ -2347,4 +2349,4 @@ int MDMUsb::getLine(char* buffer, int length) { return NOT_FOUND; } -#endif \ No newline at end of file +#endif