Disable app_hal.c if not using SDL2

This commit is contained in:
Kuba Szczodrzyński 2024-02-06 19:59:28 +01:00
parent 76b9be4d97
commit b738c22c67
No known key found for this signature in database
GPG Key ID: 43037AC62A600562

View File

@ -1,3 +1,4 @@
#if USE_MONITOR
#include <unistd.h>
#define SDL_MAIN_HANDLED /*To fix SDL's "undefined reference to WinMain" issue*/
#include <SDL2/SDL.h>
@ -53,3 +54,4 @@ void hal_loop(void)
// lv_task_handler();
// }
}
#endif