Update CubeGotchi.ino

This commit is contained in:
Tomislav Kopić 2024-06-12 11:18:03 +00:00
parent 6a46a2f9b9
commit ab4d57855b

View File

@ -71,8 +71,8 @@ static void hal_sleep_until(timestamp_t ts) {
int32_t remaining = (int32_t) (ts - hal_get_timestamp()); int32_t remaining = (int32_t) (ts - hal_get_timestamp());
if (remaining > 0) { if (remaining > 0) {
delayMicroseconds(remaining); delayMicroseconds(remaining);
delayMicroseconds(1000);
} }
delayMicroseconds(2); // fixed delay to compensate for time drifting
#endif #endif
} }