vr1.1
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of CDMS_RTOS_v1_1 by
Diff: HK_MAIN.cpp
- Revision:
- 10:2c8b9ebc79e9
- Parent:
- 9:7ff6d75cc09e
- Child:
- 11:d6dc9074075b
--- a/HK_MAIN.cpp Sat Jul 04 09:44:31 2015 +0000 +++ b/HK_MAIN.cpp Sat Jul 04 10:48:18 2015 +0000 @@ -23,13 +23,13 @@ { for(int i=(hk_count%(HK_ITER+1))*(HK_DATA+8)+8+HK_DATA;i<512;i++) { - hk_data[i] = '/0'; + hk_data[i] = 0; } hk_count = 0; FCTN_WR_SD(hk_data,hk_block_number); // HK data is written to the SD card for(int i=0;i<512;i++) { - hk_data[i] = '/0'; + hk_data[i] = 0; } FCTN_RD_SD(hk_data,hk_block_number); hk_block_number++;