Skip to content

Commit 5ec167e

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 641dec3 + 9bd3024 commit 5ec167e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api_drivers/common_api_drivers/display/gc9a01/_gc9a01_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def init(self):
149149
0x18, 0x0D, 0x71, 0xED, 0x70, 0x70, 0x18, 0x0F, 0x71, 0xEF, 0x70, 0x70])
150150
self.set_params(0x62, param_mv[:12])
151151

152-
param_buf[1] = bytearray([
152+
param_buf[:12] = bytearray([
153153
0x18, 0x11, 0x71, 0xF1, 0x70, 0x70, 0x18, 0x13, 0x71, 0xF3, 0x70, 0x70])
154154
self.set_params(0x63, param_mv[:12])
155155

0 commit comments

Comments
 (0)