Robert Linn-Moran / MAX_M8Q_Capture

Dependents:   GPS_6Axis_DataLogger_SD_UDP

Fork of C027_Support by u-blox

Files at this revision

API Documentation at this revision

Comitter:
mazgch
Date:
Tue Jul 01 05:42:10 2014 +0000
Parent:
98:c786461edd40
Child:
100:5e8b69232ea2
Commit message:
fixed the early abort of the APN settings test loop

Changed in this revision

MDM.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/MDM.cpp	Tue Jun 17 13:55:53 2014 +0000
+++ b/MDM.cpp	Tue Jul 01 05:42:10 2014 +0000
@@ -765,7 +765,7 @@
                             ok = true;
                     }
                 }
-            } while (config && *config); // maybe use next setting ? 
+            } while (!ok && config && *config); // maybe use next setting ? 
             if (!ok) {
                 ERROR("Your modem APN/password/username may be wrong\r\n");
                 goto failure;