Skip to content

Commit e377d1f

Browse files
authored
packet_size -> incoming_packet_length
1 parent d43c464 commit e377d1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_ble_midi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def readinto(self, buf, length):
8787
8888
Returns the number of bytes written into ``buf``."""
8989
if self._in_buffer is None:
90-
self._in_buffer = bytearray(self._raw.packet_size)
90+
self._in_buffer = bytearray(self._raw.incoming_packet_length)
9191
i = 0
9292
while i < length:
9393
if self._in_index < self._in_length:

0 commit comments

Comments
 (0)