We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d43c464 + e377d1f commit fde6165Copy full SHA for fde6165
adafruit_ble_midi.py
@@ -87,7 +87,7 @@ def readinto(self, buf, length):
87
88
Returns the number of bytes written into ``buf``."""
89
if self._in_buffer is None:
90
- self._in_buffer = bytearray(self._raw.packet_size)
+ self._in_buffer = bytearray(self._raw.incoming_packet_length)
91
i = 0
92
while i < length:
93
if self._in_index < self._in_length:
0 commit comments