##// END OF EJS Templates
601 corrected: hk_lfr_le_me_he_update moved
paul -
r261:197b0a2858dd R3a
parent child
Show More
@@ -291,8 +291,6 rtems_task hous_task(rtems_task_argument
291
291
292 spacewire_update_statistics();
292 spacewire_update_statistics();
293
293
294 hk_lfr_le_me_he_update();
295
296 set_hk_lfr_time_not_synchro();
294 set_hk_lfr_time_not_synchro();
297
295
298 housekeeping_packet.hk_lfr_q_sd_fifo_size_max = hk_lfr_q_sd_fifo_size_max;
296 housekeeping_packet.hk_lfr_q_sd_fifo_size_max = hk_lfr_q_sd_fifo_size_max;
@@ -307,6 +305,8 rtems_task hous_task(rtems_task_argument
307 get_v_e1_e2_f3( housekeeping_packet.hk_lfr_sc_v_f3 );
305 get_v_e1_e2_f3( housekeeping_packet.hk_lfr_sc_v_f3 );
308 get_cpu_load( (unsigned char *) &housekeeping_packet.hk_lfr_cpu_load );
306 get_cpu_load( (unsigned char *) &housekeeping_packet.hk_lfr_cpu_load );
309
307
308 hk_lfr_le_me_he_update();
309
310 // SEND PACKET
310 // SEND PACKET
311 status = rtems_message_queue_send( queue_id, &housekeeping_packet,
311 status = rtems_message_queue_send( queue_id, &housekeeping_packet,
312 PACKET_LENGTH_HK + CCSDS_TC_TM_PACKET_OFFSET + CCSDS_PROTOCOLE_EXTRA_BYTES);
312 PACKET_LENGTH_HK + CCSDS_TC_TM_PACKET_OFFSET + CCSDS_PROTOCOLE_EXTRA_BYTES);
@@ -680,14 +680,14 void hk_lfr_le_me_he_update()
680 + housekeeping_packet.hk_lfr_dpu_spw_escape
680 + housekeeping_packet.hk_lfr_dpu_spw_escape
681 + housekeeping_packet.hk_lfr_dpu_spw_credit
681 + housekeeping_packet.hk_lfr_dpu_spw_credit
682 + housekeeping_packet.hk_lfr_dpu_spw_write_sync
682 + housekeeping_packet.hk_lfr_dpu_spw_write_sync
683 + housekeeping_packet.hk_lfr_dpu_spw_rx_ahb
684 + housekeeping_packet.hk_lfr_dpu_spw_tx_ahb
685 + housekeeping_packet.hk_lfr_timecode_erroneous
683 + housekeeping_packet.hk_lfr_timecode_erroneous
686 + housekeeping_packet.hk_lfr_timecode_missing
684 + housekeeping_packet.hk_lfr_timecode_missing
687 + housekeeping_packet.hk_lfr_timecode_invalid
685 + housekeeping_packet.hk_lfr_timecode_invalid
688 + housekeeping_packet.hk_lfr_time_timecode_it
686 + housekeeping_packet.hk_lfr_time_timecode_it
689 + housekeeping_packet.hk_lfr_time_not_synchro
687 + housekeeping_packet.hk_lfr_time_not_synchro
690 + housekeeping_packet.hk_lfr_time_timecode_ctr;
688 + housekeeping_packet.hk_lfr_time_timecode_ctr;
689 // housekeeping_packet.hk_lfr_dpu_spw_rx_ahb => not handled by the grspw driver
690 // housekeeping_packet.hk_lfr_dpu_spw_tx_ahb => not handled by the grspw driver
691
691
692 //update the medium severity error counter
692 //update the medium severity error counter
693 hk_lfr_me_cnt =
693 hk_lfr_me_cnt =
General Comments 0
You need to be logged in to leave comments. Login now