mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-15 07:16:39 +00:00
Disable app_hal.c if not using SDL2
This commit is contained in:
parent
76b9be4d97
commit
b738c22c67
@ -1,3 +1,4 @@
|
|||||||
|
#if USE_MONITOR
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#define SDL_MAIN_HANDLED /*To fix SDL's "undefined reference to WinMain" issue*/
|
#define SDL_MAIN_HANDLED /*To fix SDL's "undefined reference to WinMain" issue*/
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
@ -53,3 +54,4 @@ void hal_loop(void)
|
|||||||
// lv_task_handler();
|
// lv_task_handler();
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user