Revision 302
fixed pingTest for real now
trunk/toolbox/main.c | ||
---|---|---|
39 | 39 |
* TMAX - minutes until power is killed (unless tool is on) |
40 | 40 |
*/ |
41 | 41 |
#define TWAIT 1 |
42 |
#define TWARN 5 |
|
43 |
#define TMAX 7 |
|
42 |
#define TWARN 15
|
|
43 |
#define TMAX 17
|
|
44 | 44 |
|
45 | 45 |
uint8_t sec; |
46 | 46 |
uint8_t min; |
trunk/swipe/pingTest.py | ||
---|---|---|
30 | 30 |
def ping(t): |
31 | 31 |
common.sendMessage(t, common.TT_PING, "") |
32 | 32 |
|
33 |
def response(i):
|
|
33 |
def response(t):
|
|
34 | 34 |
return common.checkAck(t) |
35 | 35 |
|
36 | 36 |
acks = [] |
Also available in: Unified diff