libMPSSE-.Net-Wrapper icon indicating copy to clipboard operation
libMPSSE-.Net-Wrapper copied to clipboard

Incorrect type in SPI_GetNumChannels()

Open mgthompson opened this issue 8 years ago • 0 comments

numChannels should be UInt32, not int to match LibMPSSE.dll.

    [DllImport(LibMpsse.DllName, SetLastError = true, CallingConvention = CallingConvention.Cdecl)]
    public extern static FtResult SPI_GetNumChannels(out UInt32 numChannels);

mgthompson avatar Jan 24 '18 19:01 mgthompson