Skip to content

Commit

Permalink
fixing typing bug on saveFile
Browse files Browse the repository at this point in the history
  • Loading branch information
biappi committed May 7, 2015
1 parent 0d303fe commit 6f490a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uno2iec/interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ void Interface::saveFile()
serCmdIOBuf[bytesInBuffer++] = m_iec.receive();
interrupts();
done = (m_iec.state() bitand IEC::eoiFlag) or (m_iec.state() bitand IEC::errorFlag);
} while(bytesInBuffer < sizeof(serCmdIOBuf) and not done);
} while((bytesInBuffer < 0xf0) and not done);
// indicate to media host that we want to write a buffer. Give the total length including the heading 'W'+length bytes.
serCmdIOBuf[1] = bytesInBuffer;
COMPORT.write((const byte*)serCmdIOBuf, bytesInBuffer);
Expand Down

0 comments on commit 6f490a9

Please sign in to comment.