From ec42b893719fd560056a1f5a3463e03eda7c9b66 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Mon, 28 Jan 2019 18:39:37 -0700 Subject: [PATCH] ACK_DELAY from msec to usec --- QnetDVRPTR.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/QnetDVRPTR.cpp b/QnetDVRPTR.cpp index 4f48398..d74d07e 100644 --- a/QnetDVRPTR.cpp +++ b/QnetDVRPTR.cpp @@ -1891,6 +1891,7 @@ static bool read_config(const char *cfgFile) cfg.GetValue(path+"_acknowledge", type, RPTR_ACK); cfg.GetValue(path+"_ack_delay", type, ACK_DELAY, 1, 999); + ACK_DELAY *= 1000; // from milliseconds to seconds cfg.GetValue(path+"_tx_delay", type, TX_DELAY, 0, 6000); Modem_Init2[8] = TX_DELAY & 0xFF;