From a17902373dc3fd2f06f0796ed2621109cb4acdd3 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 6 Apr 2026 06:08:45 -0400 Subject: Precalculate timer intervals (in config segment; client gets them preset). 6780 bytes free. --- src/indic8.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/indic8.c') diff --git a/src/indic8.c b/src/indic8.c index 1dc7e9d..260994d 100644 --- a/src/indic8.c +++ b/src/indic8.c @@ -3,12 +3,10 @@ #include #include "addrs.h" #include "indic8.h" - -extern char hz; +#include "timers.h" static void ind_start_timer(void) { - /* 3.7 sec is just what The_Doctor__ ordered! */ - OS.cdtmv5 = (hz / 10) * 37; + OS.cdtmv5 = timers.net_ind_time; } void ind_net_rx(void) { -- cgit v1.2.3