From c23c116d6fae1071505725d4918b4544814592d6 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 4 Jul 2024 13:34:47 -0400 Subject: [PATCH] Update main.c change sleep from -250 to -750 to reduce from 5.6 --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 2332d47f..3a716960 100644 --- a/main.c +++ b/main.c @@ -1188,10 +1188,10 @@ void get_tlm_fox() { /**/ // while ((millis() - sampleTime) < (unsigned int)samplePeriod) int startSleep = millis(); - if ((millis() - sampleTime) < ((unsigned int)frameTime - 250)) // was 250 100 500 for FSK + if ((millis() - sampleTime) < ((unsigned int)frameTime - 750)) // was 250 100 500 for FSK // sleep(2.0); // 0.5); // 25); // initial period sleep(1.0); // 0.5); // 25); // initial period - while ((millis() - sampleTime) < ((unsigned int)frameTime - 250)) // was 250 100 + while ((millis() - sampleTime) < ((unsigned int)frameTime - 750)) // was 250 100 sleep(0.1); // 25); // 0.5); // 25); // sleep((unsigned int)sleepTime); /**/