chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca495e6
)
fix trivial bug in suppression of general pings
author
ian
<ian>
Mon, 14 Jul 2008 22:14:05 +0000
(22:14 +0000)
committer
ian
<ian>
Mon, 14 Jul 2008 22:14:05 +0000
(22:14 +0000)
hostside/startup.c
patch
|
blob
|
history
diff --git
a/hostside/startup.c
b/hostside/startup.c
index 1496e9754aeb2c8f028099095cd484546194333d..250697f9df7004698f03684e4945637b4b55599b 100644
(file)
--- a/
hostside/startup.c
+++ b/
hostside/startup.c
@@
-25,7
+25,7
@@
static void timedout_ping(TimeoutEvent *toev) {
static void timefor_ping(TimeoutEvent *toev) {
enco_pic_ping(&piob, pong_seq ^ PING_PONG_PATTERN);
- serial_transmit_maybenosim(&piob, toev->pclass == toev_fast_pclass);
+ serial_transmit_maybenosim(&piob, toev
&& toev
->pclass == toev_fast_pclass);
ping_toev.callback= timedout_ping;
ping_toev.pclass= "startup";
toev_start(&ping_toev);