Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Commit 756041a

Browse files
authored
Fix typo
1 parent 3660777 commit 756041a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ESP32/RPM_Measure/RPM_Measure.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ void IRAM_ATTR TimerHandler0()
103103

104104
#if (TIMER_INTERRUPT_DEBUG > 0)
105105
Serial.print("RPM = "); Serial.print(avgRPM);
106-
Serial.print(", rotationTime ms = "); Serial.println(rotationTime * TIMER1_INTERVAL_MS);
106+
Serial.print(", rotationTime ms = "); Serial.println(rotationTime * TIMER0_INTERVAL_MS);
107107
#endif
108108

109109
rotationTime = 0;

0 commit comments

Comments
 (0)