From ab4d57855bf11a5449d3c16f31ff8e94357b506b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomislav=20Kopi=C4=87?= Date: Wed, 12 Jun 2024 11:18:03 +0000 Subject: [PATCH] Update CubeGotchi.ino --- CubeGotchi.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CubeGotchi.ino b/CubeGotchi.ino index 3ecdb85..52d1ecb 100644 --- a/CubeGotchi.ino +++ b/CubeGotchi.ino @@ -71,8 +71,8 @@ static void hal_sleep_until(timestamp_t ts) { int32_t remaining = (int32_t) (ts - hal_get_timestamp()); if (remaining > 0) { delayMicroseconds(remaining); - delayMicroseconds(1000); } + delayMicroseconds(2); // fixed delay to compensate for time drifting #endif }