Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vs23: calibrateVsync(): repeat until we get a consistent result
The calibration sometimes returned incorrect results, leading to off frame timings or mistaking of an NTSC system for PAL. This version keeps sampling the timing until two consecutive measurements with a difference below 80000 cycles (0.5 ms at 160 MHz) are taken.
- Loading branch information