Project

General

Profile

Revision 15fa09f7

ID15fa09f75895f37d00e181f55b105bb76d5dbbdc
Parent 7bca325d
Child a96c5547

Added by Thomas Mullins about 11 years ago

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.

View differences:

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