Update main.c sleep prints

pull/323/head
Alan Johnston 1 year ago committed by GitHub
parent 0c1babcec5
commit 47299a91d1
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 while period: %d\n", millis() - startSleep, (unsigned int)frameTime - 750 + pi_zero_2_offset); printf("Start sleep %d Sleep period: %d while period: %d\n", startSleep, 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.