Adjust startup delay for fast machines with higher res displays

This commit is contained in:
InsanityAutomation
2022-05-13 19:54:23 -04:00
parent fa73edd76a
commit a82e3147fd
@@ -90,7 +90,12 @@ void onStartup()
rtscheck.recdat.head[1] = rtscheck.snddat.head[1] = FHTWO;
memset(rtscheck.databuf, 0, sizeof(rtscheck.databuf));
delay_ms(500); // Delay to allow screen startup
#if ENABLED(DWINOS_4)
#define DWIN_BOOTUP_DELAY 1500
#else
#define DWIN_BOOTUP_DELAY 500
#endif
delay_ms(DWIN_BOOTUP_DELAY); // Delay to allow screen startup
SetTouchScreenConfiguration();
rtscheck.RTS_SndData(StartSoundSet, SoundAddr);
delay_ms(400); // Delay to allow screen to configure