Skip to content

wait_for_frame fails with CP 5.x #53

Closed
@jerryneedell

Description

@jerryneedell

Does this call just have to be removed?

https://github.com/adafruit/Adafruit_CircuitPython_PyPortal/blob/master/adafruit_pyportal.py#L553

It seems to work OK if I delete it -- will thst cause any problems for CP 4.x?

Press any key to enter the REPL. Use CTRL-D to reload.
Adafruit CircuitPython 5.0.0-alpha.4-72-g7f1bc48a8 on 2019-09-20; Adafruit PyPortal with samd51j20
>>> 
>>> import pyportal_simpletest
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "pyportal_simpletest.py", line 10, in <module>
  File "adafruit_pyportal.py", line 245, in __init__
  File "adafruit_pyportal.py", line 243, in __init__
  File "adafruit_pyportal.py", line 553, in play_file
AttributeError: 'Display' object has no attribute 'wait_for_frame'
>>> 
>>> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions