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 }