sohaib qamar / SWUpdate_RPC

Fork of SWUpdate by David Smart

Files at this revision

API Documentation at this revision

Comitter:
WiredHome
Date:
Sun Jun 15 00:46:34 2014 +0000
Parent:
6:6025fddc1af9
Child:
8:8e840a036116
Commit message:
Minor update to a debug diagnostic, and turned off debug.

Changed in this revision

SWUpdate.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/SWUpdate.cpp	Sat Jun 14 18:27:48 2014 +0000
+++ b/SWUpdate.cpp	Sun Jun 15 00:46:34 2014 +0000
@@ -11,7 +11,7 @@
 
 extern "C" void mbed_reset();
 
-#define DEBUG "SWup"
+//#define DEBUG "SWup"
 #include <cstdio>
 #if (defined(DEBUG) && !defined(TARGET_LPC11U24))
 #define DBG(x, ...)  std::printf("[DBG %s %3d] "x"\r\n", DEBUG, __LINE__, ##__VA_ARGS__);
@@ -126,7 +126,7 @@
                     WARN("Failed to download lastest firmware.");
                 }
             } else {
-                WARN("Only %d parameters found in online version file.", parseCount);
+                INFO("Online version is same as installed version.", parseCount);
             }
         }
     } else {