Update CubeGotchi.ino

This commit is contained in:
Tomislav Kopić 2024-06-12 12:16:37 +00:00
parent 35a4aac2cd
commit 9f331bb242

View File

@ -17,7 +17,7 @@
//#define ENABLE_TAMA_SOUND //#define ENABLE_TAMA_SOUND
#define ENABLE_REAL_TIME #define ENABLE_REAL_TIME
#define ENABLE_SAVE_STATUS #define ENABLE_SAVE_STATUS
#define AUTO_SAVE_MINUTES 5 // Auto save for every hour (to preserve EEPROM lifespan) #define AUTO_SAVE_MINUTES 10 // Auto save for every 10 minutes
#define ENABLE_LOAD_STATE_FROM_EEPROM #define ENABLE_LOAD_STATE_FROM_EEPROM
//#define ENABLE_DUMP_STATE_TO_SERIAL_WHEN_START //#define ENABLE_DUMP_STATE_TO_SERIAL_WHEN_START
// #define ENABLE_SERIAL_DUMP // #define ENABLE_SERIAL_DUMP
@ -72,7 +72,7 @@ static void hal_sleep_until(timestamp_t ts) {
if (remaining > 0) { if (remaining > 0) {
delayMicroseconds(remaining); delayMicroseconds(remaining);
} }
delayMicroseconds(18); // fixed delay to compensate for emulator time drifting delayMicroseconds(20); // fixed delay to compensate for emulator time drifting
#endif #endif
} }