summaryrefslogtreecommitdiff
path: root/nuttx/graphics/nxconsole/nxcon_redraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/graphics/nxconsole/nxcon_redraw.c')
-rwxr-xr-xnuttx/graphics/nxconsole/nxcon_redraw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/graphics/nxconsole/nxcon_redraw.c b/nuttx/graphics/nxconsole/nxcon_redraw.c
index 1a40a7ee1..05f0a47f8 100755
--- a/nuttx/graphics/nxconsole/nxcon_redraw.c
+++ b/nuttx/graphics/nxconsole/nxcon_redraw.c
@@ -117,7 +117,7 @@ void nxcon_redraw(NXCONSOLE handle, FAR const struct nxgl_rect_s *rect, bool mor
do
{
- ret = sem_wait(&priv->exclsem);
+ ret = nxcon_semwait(priv);
/* Check for errors */
@@ -148,5 +148,5 @@ void nxcon_redraw(NXCONSOLE handle, FAR const struct nxgl_rect_s *rect, bool mor
{
nxcon_fillchar(priv, rect, &priv->bm[i]);
}
- ret = sem_post(&priv->exclsem);
+ ret = nxcon_sempost(priv);
}