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:
634a5af
)
hostside/measure-speeds: initialise detend, settle_detend
author
Ian Jackson
<ian@davenant.greenend.org.uk>
Sun, 2 Jan 2011 23:01:20 +0000
(23:01 +0000)
committer
Ian Jackson
<ian@davenant.greenend.org.uk>
Sun, 2 Jan 2011 23:01:20 +0000
(23:01 +0000)
hostside/measure-speeds
patch
|
blob
|
history
diff --git
a/hostside/measure-speeds
b/hostside/measure-speeds
index d809ec702816b8d92b3ad86e6f29e8ead62821f9..7496b876d34a3bd07e001e8ec1bc0d6e224cad72 100755
(executable)
--- a/
hostside/measure-speeds
+++ b/
hostside/measure-speeds
@@
-27,6
+27,9
@@
proc send-now {str} {
proc startup {} {
global port rwy buf last_fast_speed noise funcs_msgs loco
+ global detend settle_detend
+ set detend {}
+ set settle_detend {}
set rwy [open $port r+]
fconfigure $rwy -blocking no -buffering none -encoding binary \
-translation binary