diff options
Diffstat (limited to 'drivers/multiple/X')
-rw-r--r-- | drivers/multiple/X/gdisp_lld.c | 4 | ||||
-rw-r--r-- | drivers/multiple/X/readme.txt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/multiple/X/gdisp_lld.c b/drivers/multiple/X/gdisp_lld.c index 9de35b03..13368bc1 100644 --- a/drivers/multiple/X/gdisp_lld.c +++ b/drivers/multiple/X/gdisp_lld.c @@ -138,7 +138,7 @@ bool_t gdisp_lld_init(void) char * WindowTitleText; gfxThreadHandle hth; - #if GFX_USE_OS_POSIX + #if GFX_USE_OS_LINUX || GFX_USE_OS_OSX XInitThreads(); #endif @@ -206,7 +206,7 @@ bool_t gdisp_lld_init(void) XCloseDisplay(dis); exit(0); } - #if GFX_USE_OS_POSIX + #if GFX_USE_OS_LINUX || GFX_USE_OS_OSX pthread_detach(hth); #endif gfxThreadClose(hth); diff --git a/drivers/multiple/X/readme.txt b/drivers/multiple/X/readme.txt index fd2e3fc1..908fea31 100644 --- a/drivers/multiple/X/readme.txt +++ b/drivers/multiple/X/readme.txt @@ -11,7 +11,7 @@ and a touchscreen driver. d) Optionally the following (with appropriate values): #define GDISP_SCREEN_WIDTH 640 #define GDISP_SCREEN_HEIGHT 480 - e) Optionally change the threading model to POSIX (instead of ChibiOS) + e) Optionally change the threading model to LINUX (instead of ChibiOS) #define GDISP_THREAD_CHIBIOS FALSE 2. To your makefile add the following lines: |