Update CubeGotchi.ino
This commit is contained in:
parent
6a46a2f9b9
commit
ab4d57855b
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user