Skip to content

Commit 0ff08f6

Browse files
committed
remove wait_for_frame
1 parent 2eba577 commit 0ff08f6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

adafruit_slideshow.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -320,12 +320,6 @@ def advance(self):
320320
sprite = self._sprite_class(odb,
321321
pixel_shader=displayio.ColorConverter(), position=(0, 0))
322322
self._group.append(sprite)
323-
# wait_for_frame is no longer needed in CP5.0
324-
# use try/except for backward compatibility
325-
try:
326-
self._display.wait_for_frame()
327-
except AttributeError:
328-
pass
329323

330324
self._fade_up()
331325
self._img_start = time.monotonic()

0 commit comments

Comments
 (0)