To fix the hang problem

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE by shubham c

Revision:
326:e424f70b86c0
Parent:
325:d375c11595be
--- a/Flash.h	Sat Dec 10 14:48:07 2016 +0000
+++ b/Flash.h	Sat Dec 10 16:15:40 2016 +0000
@@ -99,7 +99,7 @@
 {
     int add = strt_add_thres + ((mid-1)*SECTOR_SIZE);
     int result = 0;
-    int* testfalsh = (int*)add;
+    int* testflash = (int*)add;
     for(int i=0;i<32;i++)
     {  
         if(testflash[i] == flasharray_thres[i])