##// END OF EJS Templates
3.0.0.21...
paul -
r275:7563e13131aa R3a
parent child
Show More
@@ -20,7 +20,7 SWVERSION=-1-0
20 DEFINES += SW_VERSION_N1=3 # major
20 DEFINES += SW_VERSION_N1=3 # major
21 DEFINES += SW_VERSION_N2=0 # minor
21 DEFINES += SW_VERSION_N2=0 # minor
22 DEFINES += SW_VERSION_N3=0 # patch
22 DEFINES += SW_VERSION_N3=0 # patch
23 DEFINES += SW_VERSION_N4=19 # internal
23 DEFINES += SW_VERSION_N4=20 # internal
24
24
25 # <GCOV>
25 # <GCOV>
26 #QMAKE_CFLAGS_RELEASE += -fprofile-arcs -ftest-coverage
26 #QMAKE_CFLAGS_RELEASE += -fprofile-arcs -ftest-coverage
@@ -32,7 +32,7 int action_dump_kcoefficients(ccsdsTelec
32 int action_dump_par(ccsdsTelecommandPacket_t *TC, rtems_id queue_id );
32 int action_dump_par(ccsdsTelecommandPacket_t *TC, rtems_id queue_id );
33
33
34 // NORMAL
34 // NORMAL
35 int check_common_par_consistency( ccsdsTelecommandPacket_t *TC, rtems_id queue_id );
35 int check_normal_par_consistency( ccsdsTelecommandPacket_t *TC, rtems_id queue_id );
36 int set_sy_lfr_n_swf_l( ccsdsTelecommandPacket_t *TC );
36 int set_sy_lfr_n_swf_l( ccsdsTelecommandPacket_t *TC );
37 int set_sy_lfr_n_swf_p( ccsdsTelecommandPacket_t *TC );
37 int set_sy_lfr_n_swf_p( ccsdsTelecommandPacket_t *TC );
38 int set_sy_lfr_n_asm_p( ccsdsTelecommandPacket_t *TC );
38 int set_sy_lfr_n_asm_p( ccsdsTelecommandPacket_t *TC );
@@ -58,7 +58,7 int action_load_normal_par(ccsdsTelecomm
58 // CHECK THE PARAMETERS SET CONSISTENCY
58 // CHECK THE PARAMETERS SET CONSISTENCY
59 if (flag == LFR_SUCCESSFUL)
59 if (flag == LFR_SUCCESSFUL)
60 {
60 {
61 flag = check_common_par_consistency( TC, queue_id );
61 flag = check_normal_par_consistency( TC, queue_id );
62 }
62 }
63
63
64 // SET THE PARAMETERS IF THEY ARE CONSISTENT
64 // SET THE PARAMETERS IF THEY ARE CONSISTENT
@@ -469,7 +469,7 int action_dump_par( ccsdsTelecommandPac
469 //***********************
469 //***********************
470 // NORMAL MODE PARAMETERS
470 // NORMAL MODE PARAMETERS
471
471
472 int check_common_par_consistency( ccsdsTelecommandPacket_t *TC, rtems_id queue_id )
472 int check_normal_par_consistency( ccsdsTelecommandPacket_t *TC, rtems_id queue_id )
473 {
473 {
474 unsigned char msb;
474 unsigned char msb;
475 unsigned char lsb;
475 unsigned char lsb;
@@ -517,7 +517,7 int check_common_par_consistency( ccsdsT
517 // sy_lfr_n_swf_p
517 // sy_lfr_n_swf_p
518 if (flag == LFR_SUCCESSFUL)
518 if (flag == LFR_SUCCESSFUL)
519 {
519 {
520 if ( sy_lfr_n_swf_p < 16 )
520 if ( sy_lfr_n_swf_p < 22 )
521 {
521 {
522 status = send_tm_lfr_tc_exe_inconsistent( TC, queue_id, DATAFIELD_POS_SY_LFR_N_SWF_P+10, sy_lfr_n_swf_p );
522 status = send_tm_lfr_tc_exe_inconsistent( TC, queue_id, DATAFIELD_POS_SY_LFR_N_SWF_P+10, sy_lfr_n_swf_p );
523 flag = WRONG_APP_DATA;
523 flag = WRONG_APP_DATA;
@@ -937,7 +937,7 void applyCorrection( double correction
937 }
937 }
938 else
938 else
939 {
939 {
940 if ( (correction < -1.) && (correction < -0.5) )
940 if ( (-1. < correction) && (correction < -0.5) )
941 {
941 {
942 correctionInt = -1;
942 correctionInt = -1;
943 }
943 }
General Comments 0
You need to be logged in to leave comments. Login now