@@ -101,7 +101,9 extern rtems_id AVGV_id;// id of the AVG | |||||
101 |
|
101 | |||
102 | void timer_configure( unsigned char timer, unsigned int clock_divider, |
|
102 | void timer_configure( unsigned char timer, unsigned int clock_divider, | |
103 | unsigned char interrupt_level, rtems_isr (*timer_isr)() ); |
|
103 | unsigned char interrupt_level, rtems_isr (*timer_isr)() ); | |
104 | void timer_start( unsigned char timer ); |
|
104 | #ifdef ENABLE_DEAD_CODE | |
|
105 | void timer_start( unsigned char timer ); | |||
|
106 | #endif | |||
105 | void timer_stop( unsigned char timer ); |
|
107 | void timer_stop( unsigned char timer ); | |
106 | void timer_set_clock_divider(unsigned char timer, unsigned int clock_divider); |
|
108 | void timer_set_clock_divider(unsigned char timer, unsigned int clock_divider); | |
107 |
|
109 |
@@ -95,7 +95,9 void setCalibrationDivisor( unsigned int | |||||
95 | void setCalibrationData( void ); |
|
95 | void setCalibrationData( void ); | |
96 | void setCalibrationReload( bool state); |
|
96 | void setCalibrationReload( bool state); | |
97 | void setCalibrationEnable( bool state ); |
|
97 | void setCalibrationEnable( bool state ); | |
98 | void setCalibrationInterleaved( bool state ); |
|
98 | #ifdef ENABLE_DEAD_CODE | |
|
99 | void setCalibrationInterleaved( bool state ); | |||
|
100 | #endif | |||
99 | void setCalibration( bool state ); |
|
101 | void setCalibration( bool state ); | |
100 | void configureCalibration( bool interleaved ); |
|
102 | void configureCalibration( bool interleaved ); | |
101 | // |
|
103 | // |
@@ -14,7 +14,9 int send_tm_lfr_tc_exe_success( ccsdsTel | |||||
14 | int send_tm_lfr_tc_exe_inconsistent( ccsdsTelecommandPacket_t *TC, rtems_id queue_id, |
|
14 | int send_tm_lfr_tc_exe_inconsistent( ccsdsTelecommandPacket_t *TC, rtems_id queue_id, | |
15 | unsigned char byte_position, unsigned char rcv_value ); |
|
15 | unsigned char byte_position, unsigned char rcv_value ); | |
16 | int send_tm_lfr_tc_exe_not_executable( ccsdsTelecommandPacket_t *TC, rtems_id queue_id ); |
|
16 | int send_tm_lfr_tc_exe_not_executable( ccsdsTelecommandPacket_t *TC, rtems_id queue_id ); | |
17 | int send_tm_lfr_tc_exe_not_implemented( ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time ); |
|
17 | #ifdef ENABLE_DEAD_CODE | |
|
18 | int send_tm_lfr_tc_exe_not_implemented( ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time ); | |||
|
19 | #endif | |||
18 | int send_tm_lfr_tc_exe_error(ccsdsTelecommandPacket_t *TC, rtems_id queue_id ); |
|
20 | int send_tm_lfr_tc_exe_error(ccsdsTelecommandPacket_t *TC, rtems_id queue_id ); | |
19 | int send_tm_lfr_tc_exe_corrupted( ccsdsTelecommandPacket_t *TC, rtems_id queue_id, |
|
21 | int send_tm_lfr_tc_exe_corrupted( ccsdsTelecommandPacket_t *TC, rtems_id queue_id, | |
20 | unsigned char *computed_CRC, unsigned char *currentTC_LEN_RCV, unsigned char destinationID ); |
|
22 | unsigned char *computed_CRC, unsigned char *currentTC_LEN_RCV, unsigned char destinationID ); |
@@ -66,7 +66,7 option(FSW_Enable_Dead_Code "Enable dead | |||||
66 | set(SW_VERSION_N1 "3" CACHE STRING "Choose N1 FSW Version." FORCE) |
|
66 | set(SW_VERSION_N1 "3" CACHE STRING "Choose N1 FSW Version." FORCE) | |
67 | set(SW_VERSION_N2 "2" CACHE STRING "Choose N2 FSW Version." FORCE) |
|
67 | set(SW_VERSION_N2 "2" CACHE STRING "Choose N2 FSW Version." FORCE) | |
68 | set(SW_VERSION_N3 "0" CACHE STRING "Choose N3 FSW Version." FORCE) |
|
68 | set(SW_VERSION_N3 "0" CACHE STRING "Choose N3 FSW Version." FORCE) | |
69 |
set(SW_VERSION_N4 "2 |
|
69 | set(SW_VERSION_N4 "24" CACHE STRING "Choose N4 FSW Version." FORCE) | |
70 |
|
70 | |||
71 | if(FSW_verbose) |
|
71 | if(FSW_verbose) | |
72 | add_definitions(-DPRINT_MESSAGES_ON_CONSOLE) |
|
72 | add_definitions(-DPRINT_MESSAGES_ON_CONSOLE) |
@@ -187,7 +187,9 int action_reset(ccsdsTelecommandPacket_ | |||||
187 | #endif |
|
187 | #endif | |
188 | exit(0); |
|
188 | exit(0); | |
189 |
|
189 | |||
|
190 | #ifdef ENABLE_DEAD_CODE | |||
190 | send_tm_lfr_tc_exe_not_implemented( TC, queue_id, time ); |
|
191 | send_tm_lfr_tc_exe_not_implemented( TC, queue_id, time ); | |
|
192 | #endif | |||
191 |
|
193 | |||
192 | return LFR_DEFAULT; |
|
194 | return LFR_DEFAULT; | |
193 | } |
|
195 | } |
General Comments 0
You need to be logged in to leave comments.
Login now