changed from samplePeriod to frameTime

pull/168/head
alanbjohnston 4 years ago committed by GitHub
parent e220b636be
commit 4da516a55e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -113,7 +113,8 @@ void loop() {
else if (mode == AFSK)
send_packet();
while ((millis() - sampleTime) < ((unsigned int)samplePeriod)) // - 250)) // was 250 100
// while ((millis() - sampleTime) < ((unsigned int)samplePeriod)) // - 250)) // was 250 100
while ((millis() - sampleTime) < ((unsigned int)frameTime)) // - 250)) // was 250 100
sleep(0.1); // 25); // 0.5); // 25);
sampleTime = (unsigned int) millis();

Loading…
Cancel
Save

Powered by TurnKey Linux.