@@ -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= |
|
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_ |
|
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_ |
|
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_ |
|
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 < |
|
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; |
General Comments 0
You need to be logged in to leave comments.
Login now