Revision 1166
Added # to the beginning of every USB output line, as it should not be interpreted by the server.
test_bom.c | ||
---|---|---|
3 | 3 |
|
4 | 4 |
void test_bom (bool test_emitters, bool test_detectors) |
5 | 5 |
{ |
6 |
usb_puts("Testing BOM" NL); |
|
6 |
usb_puts("# Testing BOM" NL);
|
|
7 | 7 |
|
8 | 8 |
for (uint8_t n=0; n<15; ++n) |
9 | 9 |
{ |
10 | 10 |
if (test_emitters) |
11 | 11 |
{ |
12 |
usb_puts("Testing BOM emitter "); |
|
12 |
usb_puts("# Testing BOM emitter ");
|
|
13 | 13 |
usb_puti(n); |
14 | 14 |
usb_puts(NL); |
15 | 15 |
// rotate (emitter position) |
... | ... | |
22 | 22 |
|
23 | 23 |
if (test_detectors) |
24 | 24 |
{ |
25 |
usb_puts("Testing BOM detector "); |
|
25 |
usb_puts("# Testing BOM detector ");
|
|
26 | 26 |
usb_puti(n); |
27 | 27 |
usb_puts(NL); |
28 | 28 |
// rotate (detector position) |
... | ... | |
40 | 40 |
|
41 | 41 |
//send data |
42 | 42 |
|
43 |
usb_puts("Testing BOM finished" NL); |
|
43 |
usb_puts("# Testing BOM finished" NL);
|
|
44 | 44 |
} |
Also available in: Unified diff