Fix saome warnings found in build testing.

This commit is contained in:
Gregory Nutt
2018-01-04 13:33:42 -06:00
parent 7a2e300890
commit 36cc4fc066
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -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
+1 -1
View File
@@ -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++)
{