try sleep(1.0)

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

@ -1406,7 +1406,7 @@ void get_tlm_fox() {
// while ((millis() - sampleTime) < (unsigned int)samplePeriod)
int startSleep = millis();
while ((millis() - sampleTime) < ((unsigned int)frameTime - 500)) // was 100
sleep(0.5); // 25);
sleep(1.0); // 0.5); // 25);
// sleep((unsigned int)sleepTime);
/**/

Loading…
Cancel
Save

Powered by TurnKey Linux.