mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 22:05:21 +00:00
Fix lcd/ili9225.c:388:46: error: shift count >= width of type
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
f28cfbf2f3
commit
1a942c3c31
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@
|
|||
|
||||
#define ILI9225_VCI_REC_VCIR_SHIFT (4) /* Set CVI recycling period */
|
||||
#define ILI9225_VCI_REC_VCIR_MASK (0x7 << ILI9225_VCI_REC_VCIR_SHIFT)
|
||||
#define ILI9225_VCI_REC_VCIR(n) (((uint16_t)(n) << ILI9225_VCI_REC_VCIR_MASK) & ILI9225_VCI_REC_VCIR_SHIFT)
|
||||
#define ILI9225_VCI_REC_VCIR(n) (((uint16_t)(n) << ILI9225_VCI_REC_VCIR_SHIFT) & ILI9225_VCI_REC_VCIR_MASK)
|
||||
|
||||
/* ILI9225_HORIZONTAL_GRAM_ADDR_SET,
|
||||
* Horizontal GRAM Address Set, Offset: 0x20
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue