##// END OF EJS Templates
bug 507 corrected (destination_id of TM_LFR_PARAMETER_DUMP)
paul -
r222:497016d3d9bf R3
parent child
Show More
@@ -28,7 +28,7 int action_load_sbm2_par(ccsdsTelecomman
28 int action_load_kcoefficients(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time);
28 int action_load_kcoefficients(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time);
29 int action_load_fbins_mask(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time);
29 int action_load_fbins_mask(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time);
30 int action_dump_kcoefficients(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time);
30 int action_dump_kcoefficients(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time);
31 int action_dump_par(rtems_id queue_id );
31 int action_dump_par(ccsdsTelecommandPacket_t *TC, rtems_id queue_id );
32
32
33 // NORMAL
33 // NORMAL
34 int check_common_par_consistency( ccsdsTelecommandPacket_t *TC, rtems_id queue_id );
34 int check_common_par_consistency( ccsdsTelecommandPacket_t *TC, rtems_id queue_id );
@@ -92,7 +92,7 rtems_task actn_task( rtems_task_argumen
92 close_action( &TC, result, queue_snd_id );
92 close_action( &TC, result, queue_snd_id );
93 break;
93 break;
94 case TC_SUBTYPE_DUMP:
94 case TC_SUBTYPE_DUMP:
95 result = action_dump_par( queue_snd_id );
95 result = action_dump_par( &TC, queue_snd_id );
96 close_action( &TC, result, queue_snd_id );
96 close_action( &TC, result, queue_snd_id );
97 break;
97 break;
98 case TC_SUBTYPE_ENTER:
98 case TC_SUBTYPE_ENTER:
@@ -444,7 +444,7 int action_dump_kcoefficients(ccsdsTelec
444 return status;
444 return status;
445 }
445 }
446
446
447 int action_dump_par( rtems_id queue_id )
447 int action_dump_par( ccsdsTelecommandPacket_t *TC, rtems_id queue_id )
448 {
448 {
449 /** This function dumps the LFR parameters by sending the appropriate TM packet to the dedicated RTEMS message queue.
449 /** This function dumps the LFR parameters by sending the appropriate TM packet to the dedicated RTEMS message queue.
450 *
450 *
@@ -466,6 +466,7 int action_dump_par( rtems_id queue_id )
466 parameter_dump_packet.packetSequenceControl[0] = (unsigned char) (sequenceCounterParameterDump >> 8);
466 parameter_dump_packet.packetSequenceControl[0] = (unsigned char) (sequenceCounterParameterDump >> 8);
467 parameter_dump_packet.packetSequenceControl[1] = (unsigned char) (sequenceCounterParameterDump );
467 parameter_dump_packet.packetSequenceControl[1] = (unsigned char) (sequenceCounterParameterDump );
468 increment_seq_counter( &sequenceCounterParameterDump );
468 increment_seq_counter( &sequenceCounterParameterDump );
469 parameter_dump_packet.destinationID = TC->sourceID;
469
470
470 parameter_dump_packet.time[0] = (unsigned char) (time_management_regs->coarse_time>>24);
471 parameter_dump_packet.time[0] = (unsigned char) (time_management_regs->coarse_time>>24);
471 parameter_dump_packet.time[1] = (unsigned char) (time_management_regs->coarse_time>>16);
472 parameter_dump_packet.time[1] = (unsigned char) (time_management_regs->coarse_time>>16);
General Comments 0
You need to be logged in to leave comments. Login now