nxglib: Remove warning "Assuming 24-bit color is not packed"
Author: Xiang Xiao <xiaoxiang@xiaomi.com> Fix the nxstyle Left/Right brackets in a new lined Author: Alan Carvalho de Assis <acassis@gmail.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
050e45bfe7
commit
22057a8850
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue