We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c486b4d commit e699b1aCopy full SHA for e699b1a
libraries/ESP32/examples/GPIO/FunctionalInterruptLambda/FunctionalInterruptLambda.ino
@@ -219,7 +219,7 @@ void setup() {
219
220
// Update captured variables via pointers
221
(*totalInterruptsPtr)++;
222
- (*lastInterruptTimePtr) = millis();
+ (*lastInterruptTimePtr) = currentTime;
223
224
// Toggle LED state and set flag for main loop to handle
225
(*ledStatePtr) = !(*ledStatePtr);
0 commit comments