To fix the hang problem
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: main.cpp
- Revision:
- 234:2a1ea88086f3
- Parent:
- 231:e2bd2a990bfe
diff -r e2bd2a990bfe -r 2a1ea88086f3 main.cpp --- a/main.cpp Tue Jul 05 11:27:29 2016 +0000 +++ b/main.cpp Tue Jul 05 19:07:02 2016 +0000 @@ -121,6 +121,10 @@ FCTN_CDMS_INIT_RTC();/* rtc initialization*/ FCTN_CDMS_SD_INIT();/* sd card initialization*/ + //Flags for COM_ENABLE_TX and COM_DISABLE_TX + COM_AUTO_POWER_OFF_BAE_FLAG =0; + COM_TX_FLAG = 0; + Put BAE_SW_EN_FLAG = 1; uint8_t test[512] = {0}; disk_write(test,7000); //to be used only just before launch