From 78dcaf1e9ba8afcebfcedac49819b48d4be43eb1 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Tue, 19 Feb 2019 07:20:05 -0700 Subject: [PATCH] changing when status is updated --- QnetModem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/QnetModem.cpp b/QnetModem.cpp index bce0d1d..76bf761 100644 --- a/QnetModem.cpp +++ b/QnetModem.cpp @@ -547,8 +547,8 @@ void CQnetModem::Run(const char *cfgfile) dstarSpace -= (type==TYPE_HEADER) ? 4U : 1U; } } - if (dstarSpace<4 || statusTimer.time()>0.1) { - // request a status update every 100 milliseconds or when needed + if (statusTimer.time()>0.2) { + // request a status update every 200 milliseconds frame.length = 3U; frame.type = TYPE_STATUS; if (3 != SendToModem(&frame.start))