Dash7Board Code Upgrade Protocol demonstration code.

Dependencies:   modem_ref_helper CRC

Revision:
8:6b7d38139b43
Parent:
7:bfe920ee44f2
Child:
9:d110f2b86831
--- a/modem_callbacks.cpp	Tue Aug 20 13:55:45 2019 +0000
+++ b/modem_callbacks.cpp	Thu May 28 09:11:58 2020 +0000
@@ -48,10 +48,11 @@
             /************************/
             /* Save the chunk data. */
             /************************/
-        } else if (FID_APP_CUP_CFG==fid)
+        }
+        else if (FID_APP_CUP_CFG == fid)
         {
             // Reset last offset when entering CUP mode (and also exiting)
-            last_end=0;
+            last_end = 0;
         }
         
         touch->fid = fid;
@@ -94,7 +95,7 @@
 }
 
 void my_udata(void *data, u32 length)
-{    
+{
     uint8_t* p = (uint8_t*)data;
     int32_t rem = length;
     alp_parsed_chunk_t r;