@@ -1,2 +1,2 | |||
|
1 | 1 | a586fe639ac179e95bdc150ebdbab0312f31dc30 LFR_basic-parameters |
|
2 |
d |
|
|
2 | ddd0a6fe16cc1861ad679bf646663e070189e037 header/lfr_common_headers |
@@ -282,6 +282,10 int action_load_kcoefficients(ccsdsTelec | |||
|
282 | 282 | |
|
283 | 283 | flag = LFR_DEFAULT; |
|
284 | 284 | |
|
285 | // NB_BINS_COMPRESSED_SM_F0; | |
|
286 | // NB_BINS_COMPRESSED_SM_F1; | |
|
287 | // NB_BINS_COMPRESSED_SM_F2; | |
|
288 | ||
|
285 | 289 | send_tm_lfr_tc_exe_not_implemented( TC, queue_id, time ); |
|
286 | 290 | |
|
287 | 291 | return flag; |
@@ -696,7 +700,6 int set_sy_lfr_s2_bp_p1( ccsdsTelecomman | |||
|
696 | 700 | return status; |
|
697 | 701 | } |
|
698 | 702 | |
|
699 | ||
|
700 | 703 | //******************* |
|
701 | 704 | // TC_LFR_UPDATE_INFO |
|
702 | 705 | unsigned int check_update_info_hk_lfr_mode( unsigned char mode ) |
@@ -753,6 +756,29 unsigned int check_update_info_hk_thr_mo | |||
|
753 | 756 | return status; |
|
754 | 757 | } |
|
755 | 758 | |
|
759 | //************** | |
|
760 | // KCOEFFICIENTS | |
|
761 | int set_sy_lfr_kcoeff( ccsdsTelecommandPacket_t *TC ) | |
|
762 | { | |
|
763 | unsigned short sy_lfr_kcoeff_frequency; | |
|
764 | unsigned short *freqPtr; | |
|
765 | int status; | |
|
766 | ||
|
767 | status = LFR_SUCCESSFUL; | |
|
768 | ||
|
769 | freqPtr = (unsigned short *) &TC->dataAndCRC[0]; | |
|
770 | sy_lfr_kcoeff_frequency = *freqPtr; | |
|
771 | ||
|
772 | PRINTF1("sy_lfr_kcoeff_frequency = %d\n", sy_lfr_kcoeff_frequency) | |
|
773 | ||
|
774 | if (sy_lfr_kcoeff_frequency >= NB_BINS_COMPRESSED_SM) | |
|
775 | { | |
|
776 | PRINTF1("ERR *** in set_sy_lfr_kcoeff_frequency *** sy_lfr_kcoeff_frequency = %d\n", sy_lfr_kcoeff_frequency) | |
|
777 | } | |
|
778 | ||
|
779 | return status; | |
|
780 | } | |
|
781 | ||
|
756 | 782 | //********** |
|
757 | 783 | // init dump |
|
758 | 784 |
General Comments 0
You need to be logged in to leave comments.
Login now