##// END OF EJS Templates
Last commit before leaving!
paul -
r219:96757b6fa557 R3
parent child
Show More
@@ -15,9 +15,9 DEFINES += SW_VERSION_N3=0 # patch
15 15 DEFINES += SW_VERSION_N4=8 # internal
16 16
17 17 # <GCOV>
18 QMAKE_CFLAGS_RELEASE += -fprofile-arcs -ftest-coverage
18 #QMAKE_CFLAGS_RELEASE += -fprofile-arcs -ftest-coverage
19 19 #LIBS += -lgcov /opt/GCOV/01A/lib/overload.o -lc
20 LIBS += -lgcov /opt/GCOV/HOWTO_gcov_for_lfr_test/01A/lib/overload.o -lc
20 #LIBS += -lgcov /opt/GCOV/HOWTO_gcov_for_lfr_test/01A/lib/overload.o -lc
21 21 # </GCOV>
22 22
23 23 # <CHANGE BEFORE FLIGHT>
@@ -179,7 +179,7 int action_enter_mode(ccsdsTelecommandPa
179 179 {
180 180 send_tm_lfr_tc_exe_inconsistent( TC, queue_id, BYTE_POS_CP_MODE_LFR_SET, requestedMode );
181 181 }
182 else // the mode value is consistent, check the transition
182 else // the mode value is valid, check the transition
183 183 {
184 184 status = check_mode_transition(requestedMode);
185 185 if (status != LFR_SUCCESSFUL)
@@ -189,7 +189,7 int action_enter_mode(ccsdsTelecommandPa
189 189 }
190 190 }
191 191
192 if ( status == LFR_SUCCESSFUL ) // the transition is valid, enter the mode
192 if ( status == LFR_SUCCESSFUL ) // the transition is valid, check the date
193 193 {
194 194 status = check_transition_date( transitionCoarseTime );
195 195 if (status != LFR_SUCCESSFUL)
@@ -527,6 +527,8 int enter_mode( unsigned char mode, unsi
527 527
528 528 //*************************
529 529 // ENTER THE REQUESTED MODE
530 if (status == RTEMS_SUCCESSFUL) // if the current mode has been successfully stopped
531 {
530 532 if ( (mode == LFR_MODE_NORMAL) || (mode == LFR_MODE_BURST)
531 533 || (mode == LFR_MODE_SBM1) || (mode == LFR_MODE_SBM2) )
532 534 {
@@ -534,9 +536,11 int enter_mode( unsigned char mode, unsi
534 536 rtems_cpu_usage_reset();
535 537 #endif
536 538 status = restart_science_tasks( mode );
539 if (status == RTEMS_SUCCESSFUL)
540 {
537 541 launch_spectral_matrix( );
538 542 launch_waveform_picker( mode, transitionCoarseTime );
539 // launch_spectral_matrix_simu( );
543 }
540 544 }
541 545 else if ( mode == LFR_MODE_STANDBY )
542 546 {
@@ -553,6 +557,7 int enter_mode( unsigned char mode, unsi
553 557 {
554 558 status = RTEMS_UNSATISFIED;
555 559 }
560 }
556 561
557 562 if (status != RTEMS_SUCCESSFUL)
558 563 {
General Comments 0
You need to be logged in to leave comments. Login now