Project

General

Profile

Revision 252

made some more changes to uart

View differences:

proj.c
162 162
        unsigned long stop = 2;
163 163
        long parity = 0;
164 164
        unsigned long rate = 9600;
165
        unsigned char tx = 1;
166
        int stringc = 2;
165
        unsigned char tx = 0; (void)tx;
166
        int stringc = 2; (void)stringc;
167 167
        char *strings[] = {"Hello", "world"}; (void)strings;
168
        //if((r = ser_test_set(COM1_ADDR, bits, stop, parity, rate))) return r;
168 169
        //if((r = ser_test_conf(COM1_ADDR))) return r;
169
        //if((r = ser_test_set(COM1_ADDR, bits, stop, parity, rate))) return r;
170 170
        if((r = ser_test_poll(COM1_ADDR, tx, bits, stop, parity, rate, stringc, strings))) return r;
171 171
        printf("DONE\n");
172 172
    #endif

Also available in: Unified diff