vr1.1
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of CDMS_RTOS_v1_1 by
Diff: HK_MAIN.cpp
- Revision:
- 11:d6dc9074075b
- Parent:
- 10:2c8b9ebc79e9
- Child:
- 14:cf9f12b6887d
diff -r 2c8b9ebc79e9 -r d6dc9074075b HK_MAIN.cpp --- a/HK_MAIN.cpp Sat Jul 04 10:48:18 2015 +0000 +++ b/HK_MAIN.cpp Mon Jul 06 06:25:14 2015 +0000 @@ -8,6 +8,8 @@ void FCTN_HK_MAIN() { hk_main.printf("\rin FCTN_CDMS_HK_MAIN()\r\n"); + all_flags = all_flags|HK_MAIN_STATUS; + FCTN_MASTER_I2C('h' , hk_i2c_data ); //BAE hk data is collected FCTN_CDMS_RD_RTC(rtc_data); //RTC data is read to the rtc_data. for(int i=(hk_count%(HK_ITER+1))*(HK_DATA+8);i<(hk_count%(HK_ITER+1))*(HK_DATA+8)+8;i++)