Skip to content

Commit

Permalink
Renaming pedalISR to pedalIH to match other
Browse files Browse the repository at this point in the history
  • Loading branch information
deasmi committed Jan 28, 2020
1 parent c7b6b38 commit d9df2e5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions BluePower/BluePower.ino
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,7 @@ void log(const char *format,...) {
va_end(args);
}







void isrPedal() {
void pedalIH() {
bool newState;
bool pedalState;
unsigned long thisEvent;
Expand Down Expand Up @@ -150,7 +144,7 @@ void setup() {
pinMode(downButton,INPUT);

// Attach interupts
attachInterrupt(digitalPinToInterrupt(pedalSensorPin), isrPedal, CHANGE);
attachInterrupt(digitalPinToInterrupt(pedalSensorPin), pedalIH, CHANGE);
// attachInterrupt(digitalPinToInterrupt(switchPin), isrPowerSwitch, CHANGE);

attachInterrupt(digitalPinToInterrupt(downButton), upButtonIH, RISING);
Expand Down

0 comments on commit d9df2e5

Please sign in to comment.