@@ -929,7 +929,6 void applyCorrection( double correction | |||||
929 | correctionInt = ceil(correction); |
|
929 | correctionInt = ceil(correction); | |
930 | } |
|
930 | } | |
931 | waveform_picker_regs->delta_snapshot = waveform_picker_regs->delta_snapshot + correctionInt; |
|
931 | waveform_picker_regs->delta_snapshot = waveform_picker_regs->delta_snapshot + correctionInt; | |
932 | //set_wfp_delta_f0_f0_2(); |
|
|||
933 | } |
|
932 | } | |
934 |
|
933 | |||
935 | void snapshot_resynchronization( unsigned char *timePtr ) |
|
934 | void snapshot_resynchronization( unsigned char *timePtr ) | |
@@ -1210,7 +1209,7 void set_wfp_delta_f2( void ) // param | |||||
1210 | delta_snapshot = waveform_picker_regs->delta_snapshot; |
|
1209 | delta_snapshot = waveform_picker_regs->delta_snapshot; | |
1211 | nb_samples_per_snapshot = parameter_dump_packet.sy_lfr_n_swf_l[0] * 256 + parameter_dump_packet.sy_lfr_n_swf_l[1]; |
|
1210 | nb_samples_per_snapshot = parameter_dump_packet.sy_lfr_n_swf_l[0] * 256 + parameter_dump_packet.sy_lfr_n_swf_l[1]; | |
1212 |
|
1211 | |||
1213 | waveform_picker_regs->delta_f2 = delta_snapshot - nb_samples_per_snapshot / 2; |
|
1212 | waveform_picker_regs->delta_f2 = delta_snapshot - nb_samples_per_snapshot / 2 - 1; | |
1214 | } |
|
1213 | } | |
1215 |
|
1214 | |||
1216 | //***************** |
|
1215 | //***************** |
General Comments 0
You need to be logged in to leave comments.
Login now