Remove out-of-date DISPLAY.wait_for_frame()
This commit is contained in:
parent
57a1190699
commit
21e9119fd7
1 changed files with 1 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue