Skip to content

Commit

Permalink
Merge pull request #2 from mikemeandi/patch-1
Browse files Browse the repository at this point in the history
Update code.cpp
  • Loading branch information
deepsyx committed Feb 13, 2019
2 parents 5256f14 + 62f2c88 commit 6f9248a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code.cpp
Expand Up @@ -22,7 +22,7 @@ unsigned long lastUpdateTime = 0;
/*
* Amount of spark fires in a single interval
*/
int sparkFireCount = 0;
volatile int sparkFireCount = 0;

/*
* Rpm value from last update
Expand Down Expand Up @@ -123,4 +123,4 @@ void loop() {
lastUpdateTime = millis();
lastRpmValue = currentRpm;
}
}
}

0 comments on commit 6f9248a

Please sign in to comment.