summaryrefslogtreecommitdiff
path: root/nuttx/examples/nx/nx_kbdin.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/examples/nx/nx_kbdin.c')
-rw-r--r--nuttx/examples/nx/nx_kbdin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/examples/nx/nx_kbdin.c b/nuttx/examples/nx/nx_kbdin.c
index 057f725d2..7d3bcc5fe 100644
--- a/nuttx/examples/nx/nx_kbdin.c
+++ b/nuttx/examples/nx/nx_kbdin.c
@@ -205,7 +205,7 @@ nxeg_renderglyph(FAR struct nxeg_state_s *st,
/* Pack 4-bit nibbles into a byte */
pixel &= 0x0f;
- pixel = (pixel) << 4 |pixel;
+ pixel = (pixel) << 4 | pixel;
ptr = (FAR nxgl_mxpixel_t *)glyph->bitmap;
for (row = 0; row < glyph->height; row++)