nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acas...@apache.org
Subject [incubator-nuttx] branch pr478 updated: nxglib: Remove warning "Assuming 24-bit color is not packed"
Date Sat, 07 Mar 2020 19:10:19 GMT
This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch pr478
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/pr478 by this push:
     new 5ef75c7  nxglib: Remove warning "Assuming 24-bit color is not packed"
5ef75c7 is described below

commit 5ef75c7c5a6fda3d2ffff0ff7f0182a622d7f2c9
Author: Xiang Xiao <xiaoxiang@xiaomi.com>
AuthorDate: Sun Mar 8 00:39:06 2020 +0800

    nxglib: Remove warning "Assuming 24-bit color is not packed"
    
    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
---
 graphics/nxglib/nxglib_fillrun.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/graphics/nxglib/nxglib_fillrun.h b/graphics/nxglib/nxglib_fillrun.h
index 6e1bb3f..7130993 100644
--- a/graphics/nxglib/nxglib_fillrun.h
+++ b/graphics/nxglib/nxglib_fillrun.h
@@ -164,7 +164,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;


Mime
View raw message