Update CubeGotchi.ino

This commit is contained in:
Tomislav Kopić 2024-06-12 12:08:51 +00:00
parent 539d742562
commit 35a4aac2cd

View File

@ -72,7 +72,7 @@ static void hal_sleep_until(timestamp_t ts) {
if (remaining > 0) {
delayMicroseconds(remaining);
}
delayMicroseconds(8); // fixed delay to compensate for emulator time drifting
delayMicroseconds(18); // fixed delay to compensate for emulator time drifting
#endif
}
@ -334,7 +334,7 @@ void setup() {
tamalib_register_hal(&hal);
tamalib_set_framerate(TAMA_DISPLAY_FRAMERATE);
// Tamagochi clock init, if in game time goes too fast increase this value in increments of 16
// Tamagochi clock init
tamalib_init(1002700);
#if defined(ENABLE_SAVE_STATUS) || defined(AUTO_SAVE_MINUTES) || defined(ENABLE_LOAD_STATE_FROM_EEPROM)