Skip to content

Commit 540411a

Browse files
committed
raise the unsupported error for acceleration and auto_dim_display on PyPortal
1 parent 69851ec commit 540411a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adafruit_pybadger/pyportal.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ def _unsupported(self):
7171
# not available for PyPortal. If called while using a PyPortal, they will result in the
7272
# NotImplementedError raised in the property above.
7373
button = _unsupported
74+
acceleration = _unsupported
75+
auto_dim_display = _unsupported
7476

7577

7678
pyportal = PyPortal() # pylint: disable=invalid-name

0 commit comments

Comments
 (0)