From a25812f36bcb1030ada306923cfa77d3f97e814e Mon Sep 17 00:00:00 2001 From: Simen Svale Skogsrud Date: Tue, 31 May 2011 13:13:45 +0200 Subject: [PATCH] made inverted stepper driving the default as per the request of the Grbl Shield team and frankly myself. Who doesn't need their stepper signals inverted anyway? --- settings.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/settings.c b/settings.c index a172795..78bdec2 100644 --- a/settings.c +++ b/settings.c @@ -26,6 +26,7 @@ #include "wiring_serial.h" #include #include "protocol.h" +#include "config.h" settings_t settings; @@ -51,7 +52,7 @@ typedef struct { #define DEFAULT_FEEDRATE 500.0 #define DEFAULT_ACCELERATION (DEFAULT_FEEDRATE/10.0) #define DEFAULT_MAX_JERK 300.0 -#define DEFAULT_STEPPING_INVERT_MASK 0 +#define DEFAULT_STEPPING_INVERT_MASK ((1<