Skip to content

Commit 21e9119

Browse files
Remove out-of-date DISPLAY.wait_for_frame()
1 parent 57a1190 commit 21e9119

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

HalloWing_Cat_Toy/code.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,7 @@ def show_image(filename):
8484

8585
backlight.value = False
8686
splash.append(face)
87-
try:
88-
board.DISPLAY.refresh(target_frames_per_second=60)
89-
except AttributeError:
90-
board.DISPLAY.wait_for_frame()
87+
board.DISPLAY.refresh(target_frames_per_second=60)
9188
backlight.value = True
9289

9390

0 commit comments

Comments
 (0)