src/app/host-serial/libftdi/ftdi.c
char *ftdi_get_error_string (struct ftdi_context *ftdi)
{
    if (ftdi == NULL)
        return "";

    return ftdi->error_str;
}
/**
    Get string representation for last error code

    \param ftdi pointer to ftdi_context

    \retval Pointer to error string
*/
Get string representation for last error code
\param ftdi pointer to ftdi_context

\retval Pointer to error string
Get string representation for last error code \ param ftdi pointer to ftdi_context \ retval Pointer to error string
char *ftdi_get_error_string (struct ftdi_context *ftdi)
{
    if (ftdi == NULL)
        return "";
    return ftdi->error_str;
}
char * ftdi_get_error_string ( struct ftdi_context * ftdi ) { if ( ftdi == NULL ) return " " ; return ftdi -> error_str ; }
Get string representation for last error code
\param ftdi pointer to ftdi_context
Get string representation for last error code \ param ftdi pointer to ftdi_context