changed sleep(0.5)

pull/105/head
alanbjohnston 5 years ago committed by GitHub
parent 95d94385f6
commit 9a0b27f2a6
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) // while ((millis() - sampleTime) < (unsigned int)samplePeriod)
int startSleep = millis(); int startSleep = millis();
while ((millis() - sampleTime) < ((unsigned int)frameTime - 100)) while ((millis() - sampleTime) < ((unsigned int)frameTime - 100))
sleep(0.25); sleep(0.5); // 25);
// sleep((unsigned int)sleepTime); // sleep((unsigned int)sleepTime);
/**/ /**/

Loading…
Cancel
Save

Powered by TurnKey Linux.