Fix typos in debug assertions
This commit is contained in:
parent
5b03d5052d
commit
c393d39dd0
@ -112,7 +112,7 @@
|
|||||||
/* ILI9488 RGB requires use of LCD connector and SMC and DMA support */
|
/* ILI9488 RGB requires use of LCD connector and SMC and DMA support */
|
||||||
|
|
||||||
# ifndef CONFIG_SAMV71XULT_MXTXPLND_LCD
|
# ifndef CONFIG_SAMV71XULT_MXTXPLND_LCD
|
||||||
# warning The ILI8488 LCD must be connect on EXT4 (CONFIG_SAMV71XULT_MXTXPLND_LCD)
|
# warning The ILI8488 LCD must be connected on LCD EXT4 (CONFIG_SAMV71XULT_MXTXPLND_LCD)
|
||||||
# undef HAVE_ILI9488_RGB
|
# undef HAVE_ILI9488_RGB
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
@ -133,7 +133,7 @@
|
|||||||
/* ILI9488 MCU requires use of EXT1 or EXT2 connector */
|
/* ILI9488 MCU requires use of EXT1 or EXT2 connector */
|
||||||
|
|
||||||
# if !defined(CONFIG_SAMV71XULT_MXTXPLND_EXT1) && !defined(CONFIG_SAMV71XULT_MXTXPLND_EXT2)
|
# if !defined(CONFIG_SAMV71XULT_MXTXPLND_EXT1) && !defined(CONFIG_SAMV71XULT_MXTXPLND_EXT2)
|
||||||
# warning ILI9488 MCU requires CONFIG_SAMV71XULT_MXTXPLND_EXT1 or EXT2
|
# warning ILI9488 MCU must be connected or EXT1 or EXT2 (CONFIG_SAMV71XULT_MXTXPLND_EXT1/2)
|
||||||
# undef HAVE_ILI9488_MCU
|
# undef HAVE_ILI9488_MCU
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
@ -318,7 +318,7 @@
|
|||||||
# define IRQ_MXT_CHG SAM_IRQ_PD28
|
# define IRQ_MXT_CHG SAM_IRQ_PD28
|
||||||
# endif /* HAVE_MAXTOUCH */
|
# endif /* HAVE_MAXTOUCH */
|
||||||
|
|
||||||
/* ILI9488 RGB mode definitions when connected via LCd (EXT4) */
|
/* ILI9488 RGB mode definitions when connected via LCD (EXT4) */
|
||||||
|
|
||||||
# define GPIO_ILI9488_CDS (GPIO_OUTPUT | GPIO_CFG_DEFAULT | GPIO_OUTPUT_SET | \
|
# define GPIO_ILI9488_CDS (GPIO_OUTPUT | GPIO_CFG_DEFAULT | GPIO_OUTPUT_SET | \
|
||||||
GPIO_PORT_PIOC | GPIO_PIN30)
|
GPIO_PORT_PIOC | GPIO_PIN30)
|
||||||
|
@ -1115,7 +1115,7 @@ static int sam_putrun(fb_coord_t row, fb_coord_t col,
|
|||||||
/* Buffer must be provided and aligned to a 16-bit address boundary */
|
/* Buffer must be provided and aligned to a 16-bit address boundary */
|
||||||
|
|
||||||
lcdvdbg("row: %d col: %d npixels: %d\n", row, col, npixels);
|
lcdvdbg("row: %d col: %d npixels: %d\n", row, col, npixels);
|
||||||
DEBUGASSERT(src && ((uintptr_t)src & 1) == 0);
|
DEBUGASSERT(buffer && ((uintptr_t)buffer & 1) == 0);
|
||||||
|
|
||||||
/* Determine the refresh window area */
|
/* Determine the refresh window area */
|
||||||
|
|
||||||
@ -1156,7 +1156,7 @@ static int sam_getrun(fb_coord_t row, fb_coord_t col, FAR uint8_t *buffer,
|
|||||||
/* Buffer must be provided and aligned to a 16-bit address boundary */
|
/* Buffer must be provided and aligned to a 16-bit address boundary */
|
||||||
|
|
||||||
lcdvdbg("row: %d col: %d npixels: %d\n", row, col, npixels);
|
lcdvdbg("row: %d col: %d npixels: %d\n", row, col, npixels);
|
||||||
DEBUGASSERT(dest && ((uintptr_t)dest & 1) == 0);
|
DEBUGASSERT(buffer && ((uintptr_t)buffer & 1) == 0);
|
||||||
|
|
||||||
/* Determine the refresh window area */
|
/* Determine the refresh window area */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user