Remove out-of-date DISPLAY.wait_for_frame()
This commit is contained in:
parent
0ebf78dd04
commit
ca06d3c625
1 changed files with 1 additions and 5 deletions
|
|
@ -108,11 +108,7 @@ def show_image(filename):
|
||||||
|
|
||||||
backlight.duty_cycle = 0
|
backlight.duty_cycle = 0
|
||||||
splash.append(face)
|
splash.append(face)
|
||||||
# Wait for the image to load.
|
|
||||||
try:
|
|
||||||
board.DISPLAY.refresh(target_frames_per_second=60)
|
board.DISPLAY.refresh(target_frames_per_second=60)
|
||||||
except AttributeError:
|
|
||||||
board.DISPLAY.wait_for_frame()
|
|
||||||
backlight.duty_cycle = max_brightness
|
backlight.duty_cycle = max_brightness
|
||||||
|
|
||||||
beep(1) # startup beep
|
beep(1) # startup beep
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue