1
0
mirror of https://github.com/prirun/p50em.git synced 2026-05-03 23:08:50 +00:00

Fixup clock debugging trace

This commit is contained in:
Jim Wilcoxson
2020-04-14 19:32:01 +00:00
parent f9f77c3c99
commit b87e47d530

View File

@@ -1583,8 +1583,7 @@ int devcp (int class, int func, int device) {
elapsedms = (tv.tv_sec-start_tv.tv_sec)*1000.0 + (tv.tv_usec-start_tv.tv_usec)/1000.0;
targetticks = elapsedms/(-clkpic*clkrate/1000);
#if 0
absticks++;
if (absticks%1000 == 0 || abs(ticks-targetticks) > 5)
if (abs(ticks-targetticks) > 5)
printf("\nClock: target=%d, ticks=%d, offset=%d\n", targetticks, ticks, ticks-targetticks);
#endif