summaryrefslogtreecommitdiff
path: root/nuttx/graphics/nxglib/nxglib_bitblit.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/graphics/nxglib/nxglib_bitblit.h')
-rw-r--r--nuttx/graphics/nxglib/nxglib_bitblit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/graphics/nxglib/nxglib_bitblit.h b/nuttx/graphics/nxglib/nxglib_bitblit.h
index 523b55597..a35dd0a8b 100644
--- a/nuttx/graphics/nxglib/nxglib_bitblit.h
+++ b/nuttx/graphics/nxglib/nxglib_bitblit.h
@@ -63,7 +63,7 @@
# define NXGL_PIXELSHIFT 3
# define NXGL_PIXELMASK 7
-# define NXGL_MULTIPIXEL(p) ((p) ? 0xff | 0x00)
+# define NXGL_MULTIPIXEL(p) ((p) ? 0xff : 0x00)
# define NXGL_PIXEL_T ubyte
#elif NXGLIB_BITSPERPIXEL == 2