Update main.c again revert

pacsat-v2.2-tlm2
Alan Johnston 4 weeks ago committed by GitHub
parent 8b8ddc567b
commit 3a805cbfe0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1228,13 +1228,11 @@ void get_tlm_fox() {
/**/ /**/
printf("Start sleep %d Sleep period: %d while period: %d\n", startSleep, 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);
} else
{ sampleTime = (unsigned int) millis();
} else
printf("first time - no sleep\n"); printf("first time - no sleep\n");
firstTime = OFF;
}
sampleTime = (unsigned int) millis();
printf("++++ Loop time: %5.3f sec +++++\n", (millis() - loopTime)/1000.0); printf("++++ Loop time: %5.3f sec +++++\n", (millis() - loopTime)/1000.0);
fflush(stdout); fflush(stdout);
loopTime = millis(); loopTime = millis();

Loading…
Cancel
Save

Powered by TurnKey Linux.