Skip to content

Commit 8a6df98

Browse files
committed
video/st7735fb: fix wrong num of params to ST7735_CASET/RASET
In the st7735_cfg_script[], provide the correct 4 params (not 5) to each of ST7735_CASET and ST7735_RASET. Signed-off-by: Kamal Mostafa <kamal@whence.com>
1 parent 039b1a7 commit 8a6df98

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/video/st7735fb/st7735fb.c

-2
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,11 @@ static struct st7735_function st7735_cfg_script[] = {
8282
{ ST7735_DATA, 0x00},
8383
{ ST7735_DATA, 0x00},
8484
{ ST7735_DATA, 0x00},
85-
{ ST7735_DATA, 0x00},
8685
{ ST7735_DATA, 0x7f},
8786
{ ST7735_CMD, ST7735_RASET},
8887
{ ST7735_DATA, 0x00},
8988
{ ST7735_DATA, 0x00},
9089
{ ST7735_DATA, 0x00},
91-
{ ST7735_DATA, 0x00},
9290
{ ST7735_DATA, 0x9f},
9391
{ ST7735_CMD, ST7735_GMCTRP1},
9492
{ ST7735_DATA, 0x02},

0 commit comments

Comments
 (0)