Skip to content

Commit 983b0a5

Browse files
committed
last_received_report will be removed in Circuitpython 8.0.0
1 parent 49a4f9c commit 983b0a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_hid/keyboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def _remove_keycode_from_report(self, keycode: int) -> None:
162162
@property
163163
def led_status(self) -> bytes:
164164
"""Returns the last received report"""
165-
return self._keyboard_device.last_received_report
165+
return self._keyboard_device.get_last_received_report()
166166

167167
def led_on(self, led_code: int) -> bool:
168168
"""Returns whether an LED is on based on the led code

0 commit comments

Comments
 (0)