Repository for CDMS code
Dependencies: SimpleDMA mbed-rtos mbed eeprom
Fork of COM_MNG_TMTC_SIMPLE by
Revision 326:e424f70b86c0, committed 2016-12-10
- Comitter:
- chaithanyarss
- Date:
- Sat Dec 10 16:15:40 2016 +0000
- Parent:
- 325:d375c11595be
- Child:
- 327:5a967a66c10f
- Commit message:
- added flash threshold-verification
Changed in this revision
--- 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])
--- a/cdms_sd.h Sat Dec 10 14:48:07 2016 +0000 +++ b/cdms_sd.h Sat Dec 10 16:15:40 2016 +0000 @@ -42,7 +42,7 @@ int disk_erase(int,int); int disk_read_statusbits(uint8_t *); -void FCTN_SD_MNG(); +void FCTN_SD_MNGR(); int INCREMENT_SD_LIB(uint8_t);
--- a/main.cpp Sat Dec 10 14:48:07 2016 +0000 +++ b/main.cpp Sat Dec 10 16:15:40 2016 +0000 @@ -89,7 +89,7 @@ FCTN_CDMS_WR_FLASH(8,TIME_LATEST_CDSMS_RESET); SD_MNG_SECT = SD_LIB_BLK_CURRENT; - FCTN_SD_MNG(); + FCTN_SD_MNGR();