Skip to content

Commit

Permalink
Fix ESP32 var warning
Browse files Browse the repository at this point in the history
  • Loading branch information
PaintYourDragon committed Oct 24, 2022
1 parent a8eb9f7 commit 9e67771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Adafruit_MotorShield.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ Adafruit_StepperMotor *Adafruit_MotorShield::getStepper(uint16_t steps,
pwmb = 13;
bin2 = 12;
bin1 = 11;
} else if (num == 1) {
} else {
pwma = 2;
ain2 = 3;
ain1 = 4;
Expand Down

0 comments on commit 9e67771

Please sign in to comment.