Skip to content

Commit 47547ad

Browse files
committed
Add bmp param to docstring of Cursor.generate_cursor()
1 parent d9cc55e commit 47547ad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

adafruit_cursorcontrol/cursorcontrol.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,10 @@ def cursor_bitmap(self, bmp):
226226
self._cursor_grp.append(self._cur_sprite)
227227

228228
def generate_cursor(self, bmp):
229-
"""Generates a cursor icon"""
229+
"""Generates a cursor icon
230+
231+
:param ~displayio.Bitmap bmp: Bitmap to use for the cursor
232+
"""
230233
self._is_deinited()
231234
self._cursor_grp = displayio.Group(scale=self._scale)
232235
self._cur_palette = displayio.Palette(3)

0 commit comments

Comments
 (0)