aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@embedded.pro>2017-08-27 13:43:53 +0200
committerJoel Bodenmann <joel@embedded.pro>2017-08-27 13:43:53 +0200
commit285c6528e65c3fa9a898e03b261fcaf8121308cd (patch)
tree0895be81ed272a7e32bb1ed4df273a488ccce8ed /src/gos
parentf9494c44a2406b4b7dd753076f1dfc8380e19500 (diff)
parentdb7971734fc940851b6d91a77a60906622f6c491 (diff)
downloaduGFX-285c6528e65c3fa9a898e03b261fcaf8121308cd.tar.gz
uGFX-285c6528e65c3fa9a898e03b261fcaf8121308cd.tar.bz2
uGFX-285c6528e65c3fa9a898e03b261fcaf8121308cd.zip
Merge branch 'master' of git.ugfx.io:uGFX/uGFX
Diffstat (limited to 'src/gos')
-rw-r--r--src/gos/gos_chibios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gos/gos_chibios.c b/src/gos/gos_chibios.c
index 8bad8ed6..cb2193fe 100644
--- a/src/gos/gos_chibios.c
+++ b/src/gos/gos_chibios.c
@@ -141,10 +141,10 @@ bool_t gfxSemWaitI(gfxSem *psem)
{
#if (CH_KERNEL_MAJOR == 2) || (CH_KERNEL_MAJOR == 3)
if (psem->sem.s_cnt <= 0)
- return GFalse;
+ return FALSE;
#elif (CH_KERNEL_MAJOR == 4)
if (psem->sem.cnt <= 0)
- return GFalse;
+ return FALSE;
#endif
chSemFastWaitI(&psem->sem);
return TRUE;