Update cubesatsim.ino

pull/153/head
alanbjohnston 4 years ago committed by GitHub
parent d700eaeea7
commit 87e9afbec3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -138,7 +138,7 @@ void loop() {
// encode as digits (APRS or CW mode) or binary (DUV FSK)
if ((mode == BPSK) || (mode == FSK)) {
get_tlm_fox();
while ((millis() - sampleTime) < ((unsigned int)samplePeriod - 250)) // was 250 100
while ((millis() - sampleTime) < ((unsigned int)samplePeriod)) // - 250)) // was 250 100
sleep(0.1); // 25); // 0.5); // 25);
sampleTime = (unsigned int) millis();
}

Loading…
Cancel
Save

Powered by TurnKey Linux.