|
m_ftdi.FT_SetUSBParameters(rxSize < 256 ? rxSize : 256, txSize); |
This should be:
m_ftdi.FT_SetUSBParameters(rxSize < 256 ? 256 : rxSize , txSize);
Or at least when not in windows. On AmigaOS4 tracks size can't be set correctly when using:
m_comPort.setBufferSizes(RAW_TRACKDATA_LENGTH_DD * 2, RAW_TRACKDATA_LENGTH_DD);
And you have errors when writing to disk
ArduinoFloppyDiskReader/ArduinoFloppyReader/lib/SerialIO.cpp
Line 441 in 2cbbfd1
This should be:
m_ftdi.FT_SetUSBParameters(rxSize < 256 ? 256 : rxSize , txSize);Or at least when not in windows. On AmigaOS4 tracks size can't be set correctly when using:
m_comPort.setBufferSizes(RAW_TRACKDATA_LENGTH_DD * 2, RAW_TRACKDATA_LENGTH_DD);And you have errors when writing to disk