Remove out-of-date DISPLAY.wait_for_frame()

This commit is contained in:
James Carr 2021-08-07 23:55:06 +01:00
parent 57a1190699
commit 21e9119fd7

View file

@ -84,10 +84,7 @@ def show_image(filename):
backlight.value = False
splash.append(face)
try:
board.DISPLAY.refresh(target_frames_per_second=60)
except AttributeError:
board.DISPLAY.wait_for_frame()
board.DISPLAY.refresh(target_frames_per_second=60)
backlight.value = True