Update cubesatsim.ino

pull/189/head
alanbjohnston 3 years ago committed by GitHub
parent 04edceb86d
commit 368f09f27f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1361,10 +1361,10 @@ void write_wave(int i, byte *buffer)
// Serial.print("ctr reset ");
if (bufLen != 0) {
float avg_time = (float)(micros() - micros3)/(float)bufLen;
if ((avg_time > (delay_time * 1.15)) || debug_mode) {
// if ((avg_time > (delay_time * 1.15)) || debug_mode) {
Serial.print("r Microseconds: ");
Serial.println(avg_time);
}
// }
}
// }
micros3 = micros();

Loading…
Cancel
Save

Powered by TurnKey Linux.