Refresh screen via call back set by lcdSetFlushCb

This commit is contained in:
Raphael Coeffic
2022-06-11 15:38:08 +02:00
committed by Raphael Coeffic
parent 66cdab37ff
commit db684893e2
6 changed files with 69 additions and 40 deletions
-9
View File
@@ -146,13 +146,6 @@ static void* bootloaderThread(void*)
}
#endif
static void lcdExitHandler(lv_disp_drv_t*)
{
if (simu_shutdown) {
lcdFlushed();
}
}
void simuStart(bool tests, const char * sdPath, const char * settingsPath)
{
if (simu_running)
@@ -211,8 +204,6 @@ void simuStart(bool tests, const char * sdPath, const char * settingsPath)
try {
#endif
lcdSetWaitCb(lcdExitHandler);
#if !defined(SIMU_BOOTLOADER)
simuMain();
#else