From 8aeb6f55691db4ef83c2cc401ec8ad9c31fa2ee5 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 8 Jul 2024 15:54:29 -0400 Subject: [PATCH] Update main.c move loopTime --- main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.c b/main.c index b6244be3..de204f25 100644 --- a/main.c +++ b/main.c @@ -19,7 +19,6 @@ * along with this program. If not, see . */ - #include "main.h" //#define HAB // uncomment to change APRS icon from Satellite to Balloon and only BAT telemetry @@ -555,8 +554,7 @@ int main(int argc, char * argv[]) { other_min[i] = 1000.0; other_max[i] = -1000.0; } - - long int loopTime; + loopTime = millis(); while (loop-- != 0) {