mirror of
https://github.com/apache/nuttx.git
synced 2026-09-25 01:07:40 +08:00
Fix saome warnings found in build testing.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
# CONFIG_ARCH_FPU is not set
|
||||
# CONFIG_EXAMPLES_TOUCHSCREEN_ARCHINIT is not set
|
||||
CONFIG_ARCH_BOARD_LPCXPRESSO_LPC54628=y
|
||||
CONFIG_ARCH_BOARD="lpcxpresso-lpc54628"
|
||||
CONFIG_ARCH_CHIP_LPC54628=y
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
# undef HAVE_FT5x06
|
||||
# endif
|
||||
|
||||
# ifdef CONFIG_FT5X06_POLLMODE
|
||||
# ifndef CONFIG_FT5X06_POLLMODE
|
||||
# warning CONFIG_INPUT_FT5X06 requires CONFIG_FT5X06_POLLMODE
|
||||
# undef HAVE_FT5x06
|
||||
# endif
|
||||
|
||||
@@ -449,7 +449,7 @@ static inline void nxf_fillglyph(FAR struct nxfonts_fcache_s *priv,
|
||||
|
||||
pixel[0] = (uint32_t)priv->bgcolor << 8 | (uint32_t)priv->bgcolor >> 16;
|
||||
pixel[1] = (uint32_t)priv->bgcolor << 16 | (uint32_t)priv->bgcolor >> 8;
|
||||
pixel[1] = (uint32_t)priv->bgcolor << 24 | (uint32_t)priv->bgcolor;
|
||||
pixel[2] = (uint32_t)priv->bgcolor << 24 | (uint32_t)priv->bgcolor;
|
||||
|
||||
for (row = 0; row < glyph->height; row++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user