root / trunk / code / projects / diagnostic_station / station / test_comm.c @ 1298
History | View | Annotate | Download (430 Bytes)
1 | 1152 | deffi | #include "test_comm.h" |
---|---|---|---|
2 | #include "global.h" |
||
3 | 1182 | deffi | #include "comm_robot.h" |
4 | 1152 | deffi | |
5 | /** Returns whether we have communication **/
|
||
6 | bool test_comm ()
|
||
7 | { |
||
8 | 1166 | deffi | usb_puts("# Testing communications" NL);
|
9 | 1152 | deffi | |
10 | // FIXME implement
|
||
11 | |||
12 | bool success=true; |
||
13 | |||
14 | if (success)
|
||
15 | 1166 | deffi | usb_puts("# Testing communication finished (communication succeeded)" NL);
|
16 | 1152 | deffi | else
|
17 | 1166 | deffi | usb_puts("# Testing communication finished (communication failed)" NL);
|
18 | 1152 | deffi | |
19 | return success;
|
||
20 | } |