Skip to content

Commit

Permalink
Fixed a bug in UE9 streamData where an incorrect variable name was be…
Browse files Browse the repository at this point in the history
…ing used.
  • Loading branch information
davelopez01 committed Jan 21, 2015
1 parent 729b5f3 commit aaf3a81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog.txt
Expand Up @@ -246,3 +246,5 @@ Version History
- Added string descriptions for low-level error codes 112 to 116.
- Fixed a bug in U6 where I2C responses with an odd number of bytes would
return an extra byte at the end.
- Fixed a bug in UE9 streamData where an incorrect variable name was being
used.
2 changes: 1 addition & 1 deletion src/ue9.py
Expand Up @@ -1150,7 +1150,7 @@ def streamData(self, convert=True):
else:
#Return packets in multiples of 4 like over USB
numPackets = (packetsInBuffer // 4) * 4
result = retResult[:(numBytes * numPackets)]
result = resultBuffer[:(numBytes * numPackets)]
firstPacket = ord(result[10])

#Adjust buffered data
Expand Down

0 comments on commit aaf3a81

Please sign in to comment.