fixed a bug where the default step mask would not actually reflect the real pin out
This commit is contained in:
parent
9e09a502e9
commit
c3fda5ac21
@ -52,7 +52,7 @@ typedef struct {
|
|||||||
#define DEFAULT_FEEDRATE 500.0
|
#define DEFAULT_FEEDRATE 500.0
|
||||||
#define DEFAULT_ACCELERATION (DEFAULT_FEEDRATE/10.0)
|
#define DEFAULT_ACCELERATION (DEFAULT_FEEDRATE/10.0)
|
||||||
#define DEFAULT_MAX_JERK 300.0
|
#define DEFAULT_MAX_JERK 300.0
|
||||||
#define DEFAULT_STEPPING_INVERT_MASK ((1<<X_STEP_BIT)|(1<<Y_STEP_BIT)||(1<<Z_STEP_BIT))
|
#define DEFAULT_STEPPING_INVERT_MASK ((1<<X_STEP_BIT)|(1<<Y_STEP_BIT)|(1<<Z_STEP_BIT))
|
||||||
|
|
||||||
void settings_reset() {
|
void settings_reset() {
|
||||||
settings.steps_per_mm[X_AXIS] = DEFAULT_X_STEPS_PER_MM;
|
settings.steps_per_mm[X_AXIS] = DEFAULT_X_STEPS_PER_MM;
|
||||||
|
Loading…
Reference in New Issue
Block a user