Skip to content

Commit fe5276c

Browse files
committed
fixes attribute error for AXS15231B display driver.
1 parent 03ca196 commit fe5276c

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
@@ -52,7 +52,7 @@ def __init__(
5252
):
5353
self.__tx_color_count = 0
5454
self._brightness = 0xD0
55-
color_size = lv.color_format_get_size(self._color_space)
55+
color_size = lv.color_format_get_size(color_space)
5656
buf_size = display_width * display_height * color_size
5757
if isinstance(data_bus, lcd_bus.RGBBus):
5858
buf_size = int(buf_size // 10)

0 commit comments

Comments
 (0)