Revision 244
changed macros a bit to only compile what i want
proj.c | ||
---|---|---|
163 | 163 |
unsigned long rate = 9600; |
164 | 164 |
unsigned char tx = 0; |
165 | 165 |
int stringc = 2; |
166 |
char *strings[] = {"Hello.", "world."};
|
|
166 |
char *strings[] = {"Hello", "world"};
|
|
167 | 167 |
if((r = ser_test_conf(COM1_ADDR))) return r; |
168 | 168 |
if((r = ser_test_set(COM1_ADDR, bits, stop, parity, rate))) return r; |
169 | 169 |
if((r = ser_test_poll(COM1_ADDR, tx, bits, stop, parity, rate, stringc, strings))) return r; |
Also available in: Unified diff