}
return 0;
}
-void SetGraphClock( int clock, int startidx){
- PlotClock = clock;
- PlockClockStartIndex = startidx;
-}
// by marshmellow
// not perfect especially with lower clocks or VERY good antennas (heavy wave clipping)
if (g_debugMode == 2) prnt("DEBUG ASK: clk %d, err %d, startpos %d, endpos %d", clk[clkCnt], errCnt, ii, i);
if (errCnt==0 && clkCnt<7) {
if (!clockFnd) *clock = clk[clkCnt];
-
- SetGraphClock(*clock, ii);
return ii;
}
//if we found errors see if it is lowest so far and save it as best run
}
if (!clockFnd) *clock = clk[best];
- SetGraphClock(*clock, bestStart[best]);
return bestStart[best];
}