From 9fd874642fcd4c87f0d9b7825503821277a53cec Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 8 Jan 2011 20:50:13 +0000 Subject: [PATCH] realtime: tune the retransmission table, and change the time unit to be NMRADATA bytes rather than queue entries --- hostside/retransmit-table.h.gen | 6 ++++-- hostside/retransmit.c | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) 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) { -- 2.30.2