src/app/host-serial/libftdi/ftdi.c
int ftdi_write_data_get_chunksize(struct ftdi_context *ftdi, unsigned int *chunksize)
{
    if (ftdi == NULL)
        ftdi_error_return(-1, "ftdi context invalid");

    *chunksize = ftdi->writebuffer_chunksize;
    return 0;
}
/**
    Get write buffer chunk size.

    \param ftdi pointer to ftdi_context
    \param chunksize Pointer to store chunk size in

    \retval 0: all fine
    \retval -1: ftdi context invalid
*/
Get write buffer chunk size.
\param ftdi pointer to ftdi_context
\param chunksize Pointer to store chunk size in

\retval 0: all fine
\retval -1: ftdi context invalid
Get write buffer chunk size . \ param ftdi pointer to ftdi_context \ param chunksize Pointer to store chunk size in \ retval 0 : all fine \ retval - 1 : ftdi context invalid
int ftdi_write_data_get_chunksize(struct ftdi_context *ftdi, unsigned int *chunksize)
{
    if (ftdi == NULL)
        ftdi_error_return(-1, "ftdi context invalid");
    *chunksize = ftdi->writebuffer_chunksize;
    return 0;
}
int ftdi_write_data_get_chunksize ( struct ftdi_context * ftdi , unsigned int * chunksize ) { if ( ftdi == NULL ) ftdi_error_return ( -1 , " " ) ; * chunksize = ftdi -> writebuffer_chunksize ; return 0 ; }
Get write buffer chunk size.
Get write buffer chunk size .