From b9aff011022853b13018cbe63072f44ac3367785 Mon Sep 17 00:00:00 2001 From: embeddedt <42941056+embeddedt@users.noreply.github.com> Date: Sat, 5 Dec 2020 19:47:50 -0500 Subject: [PATCH] Correct preprocessor syntax (#1951) --- src/lv_gpu/lv_gpu_nxp_pxp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lv_gpu/lv_gpu_nxp_pxp.c b/src/lv_gpu/lv_gpu_nxp_pxp.c index d8ea7532a..ccb720297 100644 --- a/src/lv_gpu/lv_gpu_nxp_pxp.c +++ b/src/lv_gpu/lv_gpu_nxp_pxp.c @@ -56,7 +56,7 @@ #define PXP_OUT_PIXEL_FORMAT kPXP_OutputPixelFormatRGB565 #define PXP_AS_PIXEL_FORMAT kPXP_AsPixelFormatRGB565 #define PXP_PS_PIXEL_FORMAT kPXP_PsPixelFormatRGB565 -#elif +#else #error Only 16bit color depth is supported. Set LV_COLOR_DEPTH to 16. #endif