Skip to content

Commit ceb286f

Browse files
authored
Merge pull request #9 from brentru/patch-generate-cursor
Fix unsupported bitmap type.
2 parents 055b1f4 + 222f903 commit ceb286f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_cursorcontrol/cursorcontrol.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def __init__(self, display=None, display_group=None, bmp=None, is_hidden=False,
7878
self._cursor_bitmap = self._default_cursor_bitmap()
7979
else:
8080
self._cursor_bitmap = bmp
81-
self.generate_cursor(bmp)
81+
self.generate_cursor(self._cursor_bitmap)
8282
# pylint: enable=too-many-arguments,line-too-long
8383

8484
def __enter__(self):

0 commit comments

Comments
 (0)