Update CubeGotchi.ino
This commit is contained in:
parent
539d742562
commit
35a4aac2cd
@ -72,7 +72,7 @@ static void hal_sleep_until(timestamp_t ts) {
|
|||||||
if (remaining > 0) {
|
if (remaining > 0) {
|
||||||
delayMicroseconds(remaining);
|
delayMicroseconds(remaining);
|
||||||
}
|
}
|
||||||
delayMicroseconds(8); // fixed delay to compensate for emulator time drifting
|
delayMicroseconds(18); // fixed delay to compensate for emulator time drifting
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -334,7 +334,7 @@ void setup() {
|
|||||||
|
|
||||||
tamalib_register_hal(&hal);
|
tamalib_register_hal(&hal);
|
||||||
tamalib_set_framerate(TAMA_DISPLAY_FRAMERATE);
|
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);
|
tamalib_init(1002700);
|
||||||
|
|
||||||
#if defined(ENABLE_SAVE_STATUS) || defined(AUTO_SAVE_MINUTES) || defined(ENABLE_LOAD_STATE_FROM_EEPROM)
|
#if defined(ENABLE_SAVE_STATUS) || defined(AUTO_SAVE_MINUTES) || defined(ENABLE_LOAD_STATE_FROM_EEPROM)
|
||||||
|
Loading…
Reference in New Issue
Block a user