Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions FPGA/Mimas/tools/configuration/python/mimasconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ def __init__(self, Port):

def SendData(self, Data):
'The lowest level routine to send raw data to Mimas'
'Returns total number of writes written'
'Returns total number of bytes written'
i = 0
bytesWritten = 0;
#Send data 30 bytes at a time. Mimas can recieve maximum 30 bytes per transaction
#Send data 30 bytes at a time. Mimas can receive maximum 30 bytes per transaction
while i < len(Data):
bytesWritten += self.PortObj.write(Data[i:i+30])
i += 30
Expand Down