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