![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
flash codes for reading or writing 20 bytes into the last sector of the flash area
Dependencies: FreescaleIAP mbed
Diff: Flash.cpp
- Revision:
- 1:2f1e120d6f75
- Parent:
- 0:be957fac28c5
diff -r be957fac28c5 -r 2f1e120d6f75 Flash.cpp --- a/Flash.cpp Thu Mar 03 04:43:15 2016 +0000 +++ b/Flash.cpp Thu Mar 03 04:44:24 2016 +0000 @@ -14,7 +14,7 @@ /*End*/ /*Reading from Flash*/ -uint32_t FCTN_CDMS_RD_FLASH(uint16_t i) +uint32_t FCTN_CDMS_RD_FLASH() { for(int8_t i=0;i<(20);i++)flasharray[i]=nativeflash[i]; return flasharray[i];