ublox-at-cellular-interface_tests_pr

Revision:
40:0ceb2dfc746c
Parent:
36:9d48ec522cb4
--- a/UbloxATCellularInterface.cpp	Mon Aug 19 17:36:04 2019 +0500
+++ b/UbloxATCellularInterface.cpp	Wed Oct 09 14:48:57 2019 +0500
@@ -346,9 +346,10 @@
                                                        nsapi_security_t auth)
 {
     bool success = false;
+
+#ifndef TARGET_UBLOX_C030_R41XM
     int at_timeout = _at_timeout;
 
-#ifndef TARGET_UBLOX_C030_R41XM
     if (_at->send("AT+CGDCONT=%d,\"IP\",\"%s\"", cid, apn) && _at->recv("OK") &&
         _at->send("AT+UAUTHREQ=%d,%d,\"%s\",\"%s\"", cid, nsapi_security_to_modem_security(auth),
                   username, password) && _at->recv("OK") &&