Repository for CDMS code
Dependencies: SimpleDMA mbed-rtos mbed eeprom
Fork of COM_MNG_TMTC_SIMPLE by
Diff: main.cpp
- Revision:
- 94:611c066467a1
- Parent:
- 93:4d76de54a699
- Child:
- 95:42d6747900cb
diff -r 4d76de54a699 -r 611c066467a1 main.cpp --- a/main.cpp Sun Jan 24 09:30:22 2016 +0000 +++ b/main.cpp Sun Jan 24 13:30:11 2016 +0000 @@ -61,10 +61,15 @@ // COM_MNG_TMTC THREAD gCOM_MNG_TMTC_THREAD = new Thread(COM_MNG_TMTC_FUN); gCOM_MNG_TMTC_THREAD->set_priority(osPriorityAboveNormal); + gPC.puts("allocating threads\r\n"); gSCIENCE_THREAD = new Thread(SCIENCE_FUN); - gSCIENCE_THREAD->set_priority(osPriorityBelowNormal); + // gPC.puts("step one complete\r\n"); + gSCIENCE_THREAD->set_priority(osPriorityAboveNormal); + gPC.puts("competed allocating threads\r\n"); // *******************INITIALISATIONS END******************** + /*Calculating Stack used*/ + int theAcount = 0; while(true){ Thread::wait(osWaitForever);