Always print R Micros in float

pull/186/head
alanbjohnston 3 years ago committed by GitHub
parent 96a88a5b64
commit ca22b1aa90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3461,10 +3461,10 @@ bool TimerHandler0(struct repeating_timer *t) {
// Serial.print("\nR");
// Serial.print(" ");
// Serial.println(millis());
if (debug_mode) {
// if (debug_mode) {
Serial.print("R Microseconds: ");
Serial.println((micros() - micro_timer)/bufLen);
}
Serial.println((float)(micros() - micro_timer)/(float)bufLen);
// }
micro_timer = micros();
}
}

Loading…
Cancel
Save

Powered by TurnKey Linux.