820 instead of 828

pull/186/head
alanbjohnston 3 years ago committed by GitHub
parent ca22b1aa90
commit 66788b4601
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 (bufLen != 0) {
Serial.print("R Microseconds: ");
Serial.println((float)(micros() - micro_timer)/(float)bufLen);
// }
}
micro_timer = micros();
}
}
@ -3490,7 +3490,7 @@ void start_isr() {
// if (ITimer0.attachInterruptInterval(833, TimerHandler0))
// if (ITimer0.attachInterruptInterval(804, TimerHandler0))
if (ITimer0.attachInterruptInterval(828, TimerHandler0)) // was was 827 and 828
if (ITimer0.attachInterruptInterval(820, TimerHandler0)) // was was 828 (841) and 828
// if (ITimer0.attachInterruptInterval(1667, TimerHandler0))
{
if (debug_mode)

Loading…
Cancel
Save

Powered by TurnKey Linux.