aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-07-22 17:06:55 +1000
committerinmarket <andrewh@inmarket.com.au>2013-07-22 17:06:55 +1000
commitc40021af0114218a7754e8c5850b24c077bf1c1d (patch)
tree3084614d6d13494efde36fe5070ba32e72f8a187 /src/gos
parent25a01150144aa713a92c24535e0ed64755f5ea5c (diff)
downloaduGFX-c40021af0114218a7754e8c5850b24c077bf1c1d.tar.gz
uGFX-c40021af0114218a7754e8c5850b24c077bf1c1d.tar.bz2
uGFX-c40021af0114218a7754e8c5850b24c077bf1c1d.zip
gfxSystemLock() and gfxSystemUnlock() are required for correct operation of some modules even under POSIX.
Diffstat (limited to 'src/gos')
-rw-r--r--src/gos/posix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gos/posix.c b/src/gos/posix.c
index 9d227fb4..49fcdea4 100644
--- a/src/gos/posix.c
+++ b/src/gos/posix.c
@@ -25,11 +25,11 @@ void _gosInit(void) {
}
void gfxSystemLock(void) {
- //gfxMutexEnter(&SystemMutex);
+ gfxMutexEnter(&SystemMutex);
}
void gfxSystemUnlock(void) {
- //gfxMutexLeave(&SystemMutex);
+ gfxMutexLeave(&SystemMutex);
}
void gfxHalt(const char *msg) {