adafruit / Adafruit_CircuitPython_Slideshow

CircuitPython helper library for displaying a slideshow of images on a board with a built-in display.
MIT License
4 stars 11 forks source link

remove unnecessary wait_for_frame call for CP5.0 compatibility #14

Closed jerryneedell closed 5 years ago

jerryneedell commented 5 years ago

displayio no longer supports "wait_for_frame()" uses display.auto_refresh which is enabled by default. use try/except for backward compatibility.

tested on feather_m4_express with TFT featherwing and on PyPortal

makermelissa commented 5 years ago

Looks good. Which versions of CP did you test with?

jerryneedell commented 5 years ago

CP5.0 alpha and a build from prior to merge of the displayio changes. I did not note the exact build -- I can retest with a known build if needed.

jerryneedell commented 5 years ago

@tannewt correct - it was not needed in 4.x -- simply remove call to wait_for_frame