Program to update the D7A modem's firmware.

Dependencies:   modem_ref_helper DebouncedInterrupt

Revision:
28:5c9c420c666e
Parent:
27:25be84b17eec
Child:
29:aa16a927f0eb
--- a/main.cpp	Mon Mar 05 16:24:03 2018 +0000
+++ b/main.cpp	Tue Mar 13 16:56:05 2018 +0000
@@ -221,7 +221,6 @@
             {
                 PRINT("\r\nYour modem is up to date! (v%d.%d.%d)\r\n",
                         rev.fw_version.major, rev.fw_version.minor, rev.fw_version.patch);
-                break;
             }
             
             cup_slack = check_slack(rev.cup_max_size, cup->data_size);
@@ -289,7 +288,7 @@
                 PRINT("\r\nReseting firmware: v%d.%d.%d --> v%d.%d.%d\r\n", 
                         rev.fw_version.major, rev.fw_version.minor, rev.fw_version.patch,
                         cup->fw_major, cup->fw_minor, cup->fw_patch);
-                PRINT("PRESS USER BUTTON TO START UPGRADE...\r\n");
+                PRINT("PRESS USER BUTTON TO START RESET...\r\n");
                 button_user.wait();
 #else
                 // No button to stop code