For a PR
Fork of ublox-at-cellular-interface by
Diff: UbloxATCellularInterface.cpp
- Revision:
- 13:39264b492ce7
- Parent:
- 12:ff6fac481487
- Child:
- 14:5f55453ef38f
diff -r ff6fac481487 -r 39264b492ce7 UbloxATCellularInterface.cpp --- a/UbloxATCellularInterface.cpp Tue Jan 09 13:20:44 2018 +0000 +++ b/UbloxATCellularInterface.cpp Wed Jan 10 09:44:24 2018 +0000 @@ -1088,7 +1088,11 @@ } // Attempt to establish a connection +#ifdef TARGET_UBLOX_C030_R410M + if (registered) { +#else if (registered && connect_modem_stack()) { +#endif nsapi_error = NSAPI_ERROR_OK; }