summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2011-08-25 21:10:29 +0200
committerAlessandro Ranellucci <aar@cpan.org>2011-08-25 21:10:29 +0200
commitc097f45d1fb887af24f81b223d5082d26adb5165 (patch)
tree6cd1711805ac6842d165e6f7f181fcbb476a6993
parent2c2336d8abc10059f59c6c7a10cb40aeb6cccd78 (diff)
Removed all unnecessary config option values to avoid confusion (one might think that setting them to 0 disabled the feature, while it has to be commented instead)
-rw-r--r--Sprinter/Configuration.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Sprinter/Configuration.h b/Sprinter/Configuration.h
index 00eaf55..53ab2e5 100644
--- a/Sprinter/Configuration.h
+++ b/Sprinter/Configuration.h
@@ -33,7 +33,7 @@ float axis_steps_per_unit[] = {80, 80, 3200/1.25,700};
//float axis_steps_per_unit[] = {104.987, 104.987, 4545.4544, 1487};
//// Endstop Settings
-#define ENDSTOPPULLUPS 1 // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
+#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
// The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
const bool ENDSTOPS_INVERTING = false; //set to true to invert the logic of the endstops
//If your axes are only moving in one direction, make sure the endstops are connected properly.
@@ -43,7 +43,7 @@ const bool ENDSTOPS_INVERTING = false; //set to true to invert the logic of the
#define BAUDRATE 115200
// Comment out (using // at the start of the line) to disable SD support:
-#define SDSUPPORT 1
+#define SDSUPPORT
//// ADVANCED SETTINGS - to tweak parameters
@@ -95,7 +95,7 @@ bool axis_relative_modes[] = {false, false, false, false};
//#define STEP_DELAY_RATIO 0.25
// Comment this to disable ramp acceleration
-#define RAMP_ACCELERATION 1
+#define RAMP_ACCELERATION
//// Acceleration settings
#ifdef RAMP_ACCELERATION
@@ -115,7 +115,7 @@ char uuid[] = "00000000-0000-0000-0000-000000000000";
//// PID settings:
// Uncomment the following line to enable PID support. This is untested and could be disastrous. Be careful.
-//#define PIDTEMP 1
+//#define PIDTEMP
#ifdef PIDTEMP
#define PID_MAX 255 // limits current to nozzle
#define PID_INTEGRAL_DRIVE_MAX 220