Fix types in #error message

This commit is contained in:
Gregory Nutt 2015-07-01 14:31:28 -06:00
parent edd4e9a797
commit 322561dcf3

View File

@ -76,7 +76,7 @@
# endif # endif
#else #else
# error "Unsupport pixel format" # error "Unsupported pixel format"
#endif #endif
/******************************************************************************************** /********************************************************************************************
@ -180,7 +180,7 @@ static const nxgl_mxpixel_t g_lut[IMAGE_NLUTCODES] =
# endif # endif
#else #else
# error "Unsupport pixel format" # error "Unsupported pixel format"
#endif #endif
#if CONFIG_EXAMPLES_NXIMAGE_BPP == 24 #if CONFIG_EXAMPLES_NXIMAGE_BPP == 24
@ -3458,7 +3458,7 @@ static const struct pix_run_s g_nuttx[] =
# endif # endif
#else #else
# error "Unsupport pixel format" # error "Unsupported pixel format"
#endif #endif
/******************************************************************************************** /********************************************************************************************
@ -3635,7 +3635,7 @@ nxgl_mxpixel_t nximage_avgcolor(nxgl_mxpixel_t color1, nxgl_mxpixel_t color2)
color1 = r1 << 5 | g1 << 2 | b1; color1 = r1 << 5 | g1 << 2 | b1;
#else #else
# error "Unsupport pixel format" # error "Unsupported pixel format"
#endif #endif
return color1; return color1;