Skip to content

Commit

Permalink
Fix missing macro conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsomesan committed Jan 4, 2018
1 parent e3745f8 commit 79cf05e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ArduinoDUE/Repetier/Printer.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Level 5: Nonlinear motor step position, only for nonlinear drive systems
#define ENSURE_POWER {}
#endif

// #if defined(DRV_TMC2130)
#if defined(DRV_TMC2130)
#include <TMC2130Stepper.h>

#define TMC2130_ON_X (TMC2130_X_CS_PIN > 0)
Expand All @@ -60,7 +60,7 @@ Level 5: Nonlinear motor step position, only for nonlinear drive systems
#define TMC2130_ON_EXT0 (TMC2130_EXT0_CS_PIN > 0)
#define TMC2130_ON_EXT1 (TMC2130_EXT1_CS_PIN > 0)
#define TMC2130_ON_EXT2 (TMC2130_EXT2_CS_PIN > 0)
// #endif
#endif

union floatLong {
float f;
Expand Down

0 comments on commit 79cf05e

Please sign in to comment.