Update main.c print time for sleep

pull/323/head
Alan Johnston 1 year ago committed by GitHub
parent c16dc95d7b
commit be1cd81fff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1195,7 +1195,7 @@ void get_tlm_fox() {
sleep(0.1); // 25); // 0.5); // 25); sleep(0.1); // 25); // 0.5); // 25);
// sleep((unsigned int)sleepTime); // sleep((unsigned int)sleepTime);
/**/ /**/
printf("Sleep period: %d\n", millis() - startSleep); printf("Sleep period: %d while period: %d\n", millis() - startSleep, (unsigned int)frameTime - 750 - pi_zero_2_offset);
fflush(stdout); fflush(stdout);
sampleTime = (unsigned int) millis(); sampleTime = (unsigned int) millis();

Loading…
Cancel
Save

Powered by TurnKey Linux.