From 5d8705b6e0338b0fd631f27e80b94efea96201d0 Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 4 Mar 2017 15:02:55 +1000 Subject: FEATURE: Significantly improved the FreeRTOS port FEATURE: Added support for operating system initialisation in FreeRTOS FEATURE: Added GFX_OS_CALL_UGFXMAIN configuration option to allow uGFXMain() to be automatically called FEATURE: Added GFX_OS_UGFXMAIN_STACKSIZE configuration option to control uGFXMain() stack size --- src/gos/gos_win32.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/gos/gos_win32.c') diff --git a/src/gos/gos_win32.c b/src/gos/gos_win32.c index e9abedd7..5eecca88 100644 --- a/src/gos/gos_win32.c +++ b/src/gos/gos_win32.c @@ -21,6 +21,10 @@ void _gosInit(void) /* No initialization of the operating system itself is needed */ } +void _gosPostInit(void) +{ +} + void _gosDeinit(void) { @@ -102,7 +106,7 @@ gfxThreadHandle gfxThreadCreate(void *stackarea, size_t stacksz, threadpriority_ HANDLE thd; if (!(thd = CreateThread(0, stacksz, fn, param, CREATE_SUSPENDED, 0))) - return FALSE; + return 0; SetThreadPriority(thd, prio); ResumeThread(thd); -- cgit v1.2.3