Revision 15fa09f7
Made errors less noisy
If it can't connect to a tool, it will print an error once, and then
print another message when it is able to reconnect.
mainbox/main.c | ||
---|---|---|
7 | 7 |
|
8 | 8 |
#define SLEEP_MS 250 |
9 | 9 |
|
10 |
struct tool_t tools[] = { |
|
11 |
{4, "test", TS_INIT} |
|
10 |
static struct tool_t tools[] = { |
|
11 |
TOOL_DECL("testa", 4), |
|
12 |
TOOL_DECL("testb", 5) |
|
12 | 13 |
}; |
13 | 14 |
|
14 | 15 |
#define N_TOOLS (sizeof(tools)/sizeof(struct tool_t)) |
Also available in: Unified diff