Skip to content

Buffer size check when using libFTDI is wrong #33

@afxgroup

Description

@afxgroup

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions