src/app/host-serial/libftdi/ftdi.c
static void print_inverted_bits(int invert)
{
    char *r_bits[] = {"TXD","RXD","RTS","CTS","DTR","DSR","DCD","RI"};
    int i;

    fprintf(stdout,"Inverted bits:");
    for (i=0; i<8; i++)
        if ((invert & (1<<i)) == (1<<i))
            fprintf(stdout," %s",r_bits[i]);

    fprintf(stdout,"\n");
}
/* Decode 230X / 232R type chips invert bits
 * Prints directly to stdout.
*/
Decode 230X / 232R type chips invert bits
Prints directly to stdout.
Decode 230X / 232R type chips invert bits Prints directly to stdout .
static void print_inverted_bits(int invert)
{
    char *r_bits[] = {"TXD","RXD","RTS","CTS","DTR","DSR","DCD","RI"};
    int i;
    fprintf(stdout,"Inverted bits:");
    for (i=0; i<8; i++)
        if ((invert & (1<<i)) == (1<<i))
            fprintf(stdout," %s",r_bits[i]);
    fprintf(stdout,"\n");
}
static void print_inverted_bits ( int invert ) { char * r_bits [ ] = { " " , " " , " " , " " , " " , " " , " " , " " } ; int i ; fprintf ( stdout , " " ) ; for ( i = 0 ; i < 8 ; i ++ ) if ( ( invert & ( 1 << i ) ) == ( 1 << i ) ) fprintf ( stdout , " " , r_bits [ i ] ) ; fprintf ( stdout , " \n " ) ; }
Decode 230X / 232R type chips invert bits
 Prints directly to stdout.
Decode 230X / 232R type chips invert bits Prints directly to stdout .