summaryrefslogtreecommitdiff
path: root/nuttx/examples
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/examples')
-rw-r--r--nuttx/examples/nx/nx_kbdin.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/nuttx/examples/nx/nx_kbdin.c b/nuttx/examples/nx/nx_kbdin.c
index 7d3bcc5fe..3626eded9 100644
--- a/nuttx/examples/nx/nx_kbdin.c
+++ b/nuttx/examples/nx/nx_kbdin.c
@@ -67,10 +67,8 @@
# define RENDERER nxf_convert_1bpp
#elif CONFIG_EXAMPLES_NX_BPP == 2
# define RENDERER nxf_convert_2bpp
-#elif CONFIG_EXAMPLES_NX_BPP == 2
-# define RENDERER nxf_convert_4bpp
#elif CONFIG_EXAMPLES_NX_BPP == 4
-# define RENDERER nxf_convert_8bpp
+# define RENDERER nxf_convert_4bpp
#elif CONFIG_EXAMPLES_NX_BPP == 8
# define RENDERER nxf_convert_8bpp
#elif CONFIG_EXAMPLES_NX_BPP == 16