Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerBroker2 authored Aug 14, 2021
1 parent 5ab4558 commit b09c4e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pySerialTransfer/pySerialTransfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ def __init__(self, port, baud=115200, restrict_ports=True, debug=True, byte_form
:return: void
'''

self.txBuff = [' ' for i in range(MAX_PACKET_SIZE - 1)]
self.rxBuff = [' ' for i in range(MAX_PACKET_SIZE - 1)]
self.txBuff = [' ' for i in range(MAX_PACKET_SIZE)]
self.rxBuff = [' ' for i in range(MAX_PACKET_SIZE)]

self.debug = debug
self.idByte = 0
Expand Down

0 comments on commit b09c4e1

Please sign in to comment.