ArduinoFloppyDiskReader
ArduinoFloppyDiskReader copied to clipboard
Buffer size check when using libFTDI is wrong
https://github.com/RobSmithDev/ArduinoFloppyDiskReader/blob/2cbbfd1c8d9e5c3e641316a5d643b9148e592206/ArduinoFloppyReader/lib/SerialIO.cpp#L441
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