drivers: display: ili9341: add 4th parameter in DISCTRL command
As stated in the datasheet https://www.crystalfontz.com/controllers/Ilitek/ILI9341/142/ there's a 4th parameter in DISCTRL command Signed-off-by: Jeroen van Dooren <jeroen.van.dooren@nobleo.nl>
This commit is contained in:
parent
4234e801b5
commit
77824a1820
|
@ -35,7 +35,7 @@
|
|||
#define ILI9341_GAMSET_LEN 1U
|
||||
#define ILI9341_IFMODE_LEN 1U
|
||||
#define ILI9341_FRMCTR1_LEN 2U
|
||||
#define ILI9341_DISCTRL_LEN 3U
|
||||
#define ILI9341_DISCTRL_LEN 4U
|
||||
#define ILI9341_PWCTRL1_LEN 1U
|
||||
#define ILI9341_PWCTRL2_LEN 1U
|
||||
#define ILI9341_VMCTRL1_LEN 2U
|
||||
|
|
|
@ -85,7 +85,7 @@ properties:
|
|||
|
||||
disctrl:
|
||||
type: uint8-array
|
||||
default: [0x0a, 0x82, 0x27]
|
||||
default: [0x0a, 0x82, 0x27, 0x04]
|
||||
description:
|
||||
Display function control (DISCTRL) register value. Note that changing
|
||||
default SS bit value (0) may interfere with display rotation.
|
||||
|
|
Loading…
Reference in a new issue