aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/multiple/X
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-07-23 18:52:52 +0200
committerJoel Bodenmann <joel@unormal.org>2013-07-23 18:52:52 +0200
commitea3048ff3675ba460b1ca47798340d227fefc05e (patch)
treecb7d8b1590990a93ee56b959002f41f3b5e6e215 /drivers/multiple/X
parent95b15971584cbfdad533411bcb8d8cec82e996fa (diff)
downloaduGFX-ea3048ff3675ba460b1ca47798340d227fefc05e.tar.gz
uGFX-ea3048ff3675ba460b1ca47798340d227fefc05e.tar.bz2
uGFX-ea3048ff3675ba460b1ca47798340d227fefc05e.zip
fixed OS-X port (untested)
Diffstat (limited to 'drivers/multiple/X')
-rw-r--r--drivers/multiple/X/gdisp_lld.c4
-rw-r--r--drivers/multiple/X/readme.txt2
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: