Merge pull request #7 from adafruit/tannewt-patch-1
packet_size -> incoming_packet_length
This commit is contained in:
commit
fde6165748
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ class MIDIService(Service):
|
|||
|
||||
Returns the number of bytes written into ``buf``."""
|
||||
if self._in_buffer is None:
|
||||
self._in_buffer = bytearray(self._raw.packet_size)
|
||||
self._in_buffer = bytearray(self._raw.incoming_packet_length)
|
||||
i = 0
|
||||
while i < length:
|
||||
if self._in_index < self._in_length:
|
||||
|
|
|
|||
Loading…
Reference in a new issue