Skip to content

Commit

Permalink
Update release and fix issue on the new features.
Browse files Browse the repository at this point in the history
  • Loading branch information
manoukianv committed Apr 7, 2018
1 parent 6840ffe commit b4a5366
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ const float defaults_amps[] = {1000, 1000, 1000, 1000, 1000};

// Set the default microsteps, (2, 4, 8, 16, 32, 64, 128, or 256)
const uint16_t defaults_microsteps[] = {64, 64, 32, 64, 64};
const bool defaults_256_step_interpol[] = {false, false, false, false, false};
const bool defaults_256_step_interpol[] = {true, true, true, true, true};

// Enable the spreadCycle on driver
const bool defaults_en_spreadCycle[] = {false, false, false, false, false};
const bool defaults_en_spreadCycle[] = {false, false, false, true, false};

// Set the default TOFF (0, driver disabled, more than 2 for StealChop, beetween 2-15 for spreadCycle)
// https://hackaday.com/2016/09/30/3d-printering-trinamic-tmc2130-stepper-motor-drivers-shifting-the-gears/
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ void setup() {

void loop() {

unsigned long time;
unsigned long time = millis();

sCmd.readSerial();

Expand Down
2 changes: 1 addition & 1 deletion src/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "conf.h"

const char *RELEASE = "0.3.1";
const char *RELEASE = "0.4.1";

// based on the TMC2208Stepper_MACRO.h, return a flag from a read status
#define GETSTATUS(VAR, SETTING) ((VAR&SETTING##_bm) >>SETTING##_bp)
Expand Down

0 comments on commit b4a5366

Please sign in to comment.