pull/106/head
alanbjohnston 5 years ago committed by GitHub
parent aabb4066ce
commit bcc9e49d41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1406,10 +1406,10 @@ void get_tlm_fox() {
/**/
// while ((millis() - sampleTime) < (unsigned int)samplePeriod)
int startSleep = millis();
if ((millis() - sampleTime) < ((unsigned int)frameTime - 250)) // was 100 500 for FSK
if ((millis() - sampleTime) < ((unsigned int)frameTime - 250)) // was 250 100 500 for FSK
sleep(2.0); // 0.5); // 25); // initial period
while ((millis() - sampleTime) < ((unsigned int)frameTime - 250)) // was 100
sleep(0.25); // 25); // 0.5); // 25);
while ((millis() - sampleTime) < ((unsigned int)frameTime - 250)) // was 250 100
sleep(0.1); // 25); // 0.5); // 25);
// sleep((unsigned int)sleepTime);
/**/

Loading…
Cancel
Save

Powered by TurnKey Linux.