summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxwell Beck <max@rastertail.net>2024-12-28 19:34:56 -0600
committerMaxwell Beck <max@rastertail.net>2024-12-28 19:34:56 -0600
commit049c4f630b539c9d036b5a253f6e09c4d6556f43 (patch)
tree7da6294cc0911857af25bfe5a8b1aa341e404bdb
parentbc3fbeb48dea39d7213fb257a56e35bcacba9e8d (diff)
Allow some CPU timing slop
Still not sure why this is needed now.
-rw-r--r--src/pico1541.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pico1541.c b/src/pico1541.c
index 266bfd7..3489fee 100644
--- a/src/pico1541.c
+++ b/src/pico1541.c
@@ -187,7 +187,7 @@ int main() {
 	ts = time_us_32();
 	uint16_t osc2 = 0xffff;
 	while (!cpu.jammed) {
-		if (ts < time_us_32()) {
+		if (ts + 100 < time_us_32()) {
 			break;
 		}