diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-10-08 08:33:00 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-10-08 08:33:00 -0600 |
commit | fdb1d0a4df496e7a3232a950d5c72231363cf67a (patch) | |
tree | 5d18c1b4f9241f17396ec663ff4425bf21e6b57a /apps/examples/nx/nx_kbdin.c | |
parent | 1753a0251a941fa4d1a5b95aec631209e9957670 (diff) | |
download | nuttx-fdb1d0a4df496e7a3232a950d5c72231363cf67a.tar.gz nuttx-fdb1d0a4df496e7a3232a950d5c72231363cf67a.tar.bz2 nuttx-fdb1d0a4df496e7a3232a950d5c72231363cf67a.zip |
Remove non-portable references to syslog from apps/examples
Diffstat (limited to 'apps/examples/nx/nx_kbdin.c')
-rw-r--r-- | apps/examples/nx/nx_kbdin.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/examples/nx/nx_kbdin.c b/apps/examples/nx/nx_kbdin.c index df4a0faa1..67a90d03a 100644 --- a/apps/examples/nx/nx_kbdin.c +++ b/apps/examples/nx/nx_kbdin.c @@ -127,7 +127,7 @@ static void nxeg_fillchar(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect, (unsigned int)bm->glyph->stride); if (ret < 0) { - message("nxeg_fillchar: nxtk_bitmapwindow failed: %d\n", errno); + printf("nxeg_fillchar: nxtk_bitmapwindow failed: %d\n", errno); } #else ret = nx_bitmap((NXWINDOW)hwnd, &intersection, &src, @@ -135,7 +135,7 @@ static void nxeg_fillchar(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect, (unsigned int)bm->glyph->stride); if (ret < 0) { - message("nxeg_fillchar: nx_bitmapwindow failed: %d\n", errno); + printf("nxeg_fillchar: nx_bitmapwindow failed: %d\n", errno); } #endif } @@ -162,7 +162,7 @@ nxeg_renderglyph(FAR struct nxeg_state_s *st, /* Make sure that there is room for another glyph */ - message("nxeg_renderglyph: ch=%02x\n", ch); + printf("nxeg_renderglyph: ch=%02x\n", ch); if (st->nglyphs < NXTK_MAXKBDCHARS) { /* Allocate the glyph */ @@ -242,7 +242,7 @@ nxeg_renderglyph(FAR struct nxeg_state_s *st, { /* Actually, the RENDERER never returns a failure */ - message("nxeg_renderglyph: RENDERER failed\n"); + printf("nxeg_renderglyph: RENDERER failed\n"); free(glyph->bitmap); glyph->bitmap = NULL; glyph = NULL; @@ -428,7 +428,7 @@ void nxeg_kbdin(NXWINDOW hwnd, uint8_t nch, FAR const uint8_t *ch, FAR void *arg) { FAR struct nxeg_state_s *st = (FAR struct nxeg_state_s *)arg; - message("nxeg_kbdin%d: hwnd=%p nch=%d\n", st->wnum, hwnd, nch); + printf("nxeg_kbdin%d: hwnd=%p nch=%d\n", st->wnum, hwnd, nch); nxeg_addchars(hwnd, st, nch, ch); } @@ -440,8 +440,8 @@ void nxeg_kbdin(NXWINDOW hwnd, uint8_t nch, FAR const uint8_t *ch, void nxeg_tbkbdin(NXWINDOW hwnd, uint8_t nch, const uint8_t *ch, FAR void *arg) { FAR struct nxeg_state_s *st = (FAR struct nxeg_state_s *)arg; - message("nxeg_tbkbdin: ERROR -- toolbar should not received keyboard input\n"); - message("nxeg_tbkbdin%d: hwnd=%p nch=%d\n", st->wnum, hwnd, nch); + printf("nxeg_tbkbdin: ERROR -- toolbar should not received keyboard input\n"); + printf("nxeg_tbkbdin%d: hwnd=%p nch=%d\n", st->wnum, hwnd, nch); } #endif |