changed printf to Sleep period

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

@ -1421,7 +1421,7 @@ void get_tlm_fox() {
printf("Sleep time 2.95\n"); printf("Sleep time 2.95\n");
} }
*/ */
printf("Sample period: %d\n", millis() - (unsigned int)frameTime); printf("Sleep period: %d\n", ((millis() - sampleTime) < (unsigned int)frameTime));
sampleTime = (unsigned int) millis(); sampleTime = (unsigned int) millis();
} else } else

Loading…
Cancel
Save

Powered by TurnKey Linux.