diff --git a/graphics/nxglib/nxglib_fillrun.h b/graphics/nxglib/nxglib_fillrun.h index 6e1bb3fe43..3487605dc4 100644 --- a/graphics/nxglib/nxglib_fillrun.h +++ b/graphics/nxglib/nxglib_fillrun.h @@ -65,7 +65,10 @@ ****************************************************************************/ #if NXGLIB_BITSPERPIXEL == 2 -static uint8_t g_wide_2bpp[4] = { 0x00, 0x55, 0xaa, 0xff }; +static uint8_t g_wide_2bpp[4] = +{ + 0x00, 0x55, 0xaa, 0xff +}; #endif /**************************************************************************** @@ -164,7 +167,6 @@ static inline void nxgl_fillrun_24bpp(FAR uint32_t *run, nxgl_mxpixel_t color, s { /* Fill the run with the color (it is okay to run a fractional byte overy the end */ -#warning "Assuming 24-bit color is not packed" while (npixels-- > 0) { *run++ = (uint32_t)color;