
lolly
Fork of cdms_rtos_sum by
Revision 3:50da1c364548, committed 2015-06-10
- Comitter:
- pradeepvk2208
- Date:
- Wed Jun 10 09:56:27 2015 +0000
- Parent:
- 2:5b3bd8bd753f
- Commit message:
- red
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 5b3bd8bd753f -r 50da1c364548 main.cpp --- a/main.cpp Wed Jun 10 09:25:02 2015 +0000 +++ b/main.cpp Wed Jun 10 09:56:27 2015 +0000 @@ -35,7 +35,9 @@ while(1) { Thread::signal_wait(0x2); - printf("Entered HK_CDMS\n"); + printf("Hi\n"); + Thread::wait(5000); + printf("Tamanna\n"); } } @@ -44,7 +46,7 @@ while(1) { Thread::signal_wait(0x3); - printf("Entered HK_PAYLOAD\n"); + printf("Samanta\n"); } } @@ -71,17 +73,17 @@ int main() { - ptr_hk_bae = new Thread (HK_BAE); + //ptr_hk_bae = new Thread (HK_BAE); data_ready1.rise(&FUNC_INIT_HK_PAYLOAD); ptr_hk_cdms=new Thread (HK_CDMS); ptr_hk_payload=new Thread (HK_PAYLOAD); - ptr_hk_bae->set_priority(osPriorityAboveNormal); + // ptr_hk_bae->set_priority(osPriorityAboveNormal); ptr_hk_cdms->set_priority(osPriorityNormal); ptr_hk_payload->set_priority(osPriorityHigh); - printf("\n T_HK_BAE priority is %d",ptr_hk_bae->get_priority()); + //printf("\n T_HK_BAE priority is %d",ptr_hk_bae->get_priority()); printf("\n T_HK_CDMS priority is %d",ptr_hk_cdms->get_priority()); printf("\n T_HK_PAYLOAD priority is %d",ptr_hk_payload->get_priority());