kopia lustrzana https://github.com/xdsopl/robot36
give confused Scottie a fighting chance
rodzic
e843719923
commit
705a49d214
|
@ -145,7 +145,7 @@ public class Decoder {
|
||||||
}
|
}
|
||||||
for (int i = 0; i < lines.length; ++i)
|
for (int i = 0; i < lines.length; ++i)
|
||||||
copyLines(mode.decodeScanLine(evenBuffer, oddBuffer, scanLineBuffer, pulses[i], lines[i]));
|
copyLines(mode.decodeScanLine(evenBuffer, oddBuffer, scanLineBuffer, pulses[i], lines[i]));
|
||||||
int shift = pulses[pulses.length - 1];
|
int shift = pulses[pulses.length - 1] - (meanSamples * 3) / 4;
|
||||||
adjustSyncPulses(last5msSyncPulses, shift);
|
adjustSyncPulses(last5msSyncPulses, shift);
|
||||||
adjustSyncPulses(last9msSyncPulses, shift);
|
adjustSyncPulses(last9msSyncPulses, shift);
|
||||||
adjustSyncPulses(last20msSyncPulses, shift);
|
adjustSyncPulses(last20msSyncPulses, shift);
|
||||||
|
|
Ładowanie…
Reference in New Issue