mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08: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:
committed by
Petro Karashchenko
parent
f28cfbf2f3
commit
1a942c3c31
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user