Returns the most recent FTDI Error and clears the error code.
- Return values
-
When an FTDI error occurs, an internal error value is set. Calling this method will return the stored FTDI error and reset the stored value. Calling SM_GetLastFTDIError() after an error has occurred is not required. For more information on FTDI errors, please see the FTDI API documentation.