Skip to content

Commit

Permalink
Update TMCStepper.h
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtreetech committed Jul 25, 2019
1 parent 74a6039 commit b43f65a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TMCStepper.h
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ class TMC2209Stepper : public TMC2208Stepper {

#if SW_CAPABLE_PLATFORM
TMC2209Stepper(uint16_t SW_RX_pin, uint16_t SW_TX_pin, float RS, uint8_t addr) :
TMC2208Stepper(SW_RX_pin, SW_TX_pin, RS, addr, SW_RX_pin != SW_TX_pin) {}
TMC2208Stepper(SW_RX_pin, SW_TX_pin, RS, addr, SW_RX_pin > -1) {}
#endif
void push();

Expand Down

0 comments on commit b43f65a

Please sign in to comment.