Skip to content

Commit 425b044

Browse files
committed
Fixes axs1523b display driver
1 parent 9dbf21f commit 425b044

File tree

1 file changed

+1
-1
lines changed
  • api_drivers/common_api_drivers/display/axs15231b

1 file changed

+1
-1
lines changed

api_drivers/common_api_drivers/display/axs15231b/axs15231b.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def _set_memory_location(self, x1: int, y1: int, x2: int, y2: int):
154154
if self.__qspi:
155155
cmd &= 0xFF
156156
cmd <<= 8
157-
cmd |= _WRITE_COLOR << 2
157+
cmd |= _WRITE_COLOR << 24
158158
else:
159159
param_buf[0] = (y1 >> 8) & 0xFF
160160
param_buf[1] = y1 & 0xFF

0 commit comments

Comments
 (0)