From: Ian Jackson Date: Sat, 8 Jan 2011 20:50:13 +0000 (+0000) Subject: realtime: tune the retransmission table, and change the time unit to be NMRADATA... X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=9fd874642fcd4c87f0d9b7825503821277a53cec;p=trains.git realtime: tune the retransmission table, and change the time unit to be NMRADATA bytes rather than queue entries --- diff --git a/hostside/retransmit-table.h.gen b/hostside/retransmit-table.h.gen index 469d230..5f401b9 100755 --- a/hostside/retransmit-table.h.gen +++ b/hostside/retransmit-table.h.gen @@ -1,8 +1,10 @@ #!/usr/bin/perl -$count= 20; +$count= 17; $exp= 1.3; -$first= 1.0; +$first= 6.0; # units are bytes of command NMRADATA command sent to PICs. +# A 3-byte (including checksum) NMRA command (which is the +# smallest possible) produces 6 bytes. print <l; } void retransmit_start(void) {