Skip to content
Snippets Groups Projects
Commit 5b403dea authored by Ezekiel Dohmen's avatar Ezekiel Dohmen
Browse files

Merge branch 'max_loops_fix' into 'branch-4.2'

RTS: ADC read 'max_loops' reset per card

See merge request cds/advligorts!364
parents 6b4b1f31 ccb1b01f
No related branches found
No related tags found
4 merge requests!439RCG 5.0 release fro deb 10,!366Merge with branch 4.2,!365Merge branch 'branch-4.2' into master-branch-4.2-merge,!364RTS: ADC read 'max_loops' reset per card
......@@ -323,6 +323,7 @@ iop_adc_read( adcInfo_t* adcinfo, int cpuClk[] )
// loops and max_loops are usually equal to UNDERSAMPLE, but on the first cycle
// they loops may be less.
max_loops = UNDERSAMPLE;
if(first_adc_read)
{
loops = UNDERSAMPLE - cdsPciModules.adcTimeShift[card];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment