From dbbf050005d6e2ad6363e4d1114f97e0c519860b Mon Sep 17 00:00:00 2001 From: Erik vd Zalm Date: Wed, 21 Nov 2012 20:53:56 +0100 Subject: [PATCH] More rambo fixes --- Marlin/Marlin.pde | 3 ++- Marlin/Marlin_main.cpp | 6 +++++- Marlin/stepper.cpp | 2 ++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Marlin/Marlin.pde b/Marlin/Marlin.pde index 5d9134586..1bf73f80c 100644 --- a/Marlin/Marlin.pde +++ b/Marlin/Marlin.pde @@ -33,4 +33,5 @@ #include "Configuration.h" #ifdef ULTRA_LCD #include -#endif +#endif +#include diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 5ddc8190e..89654d779 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -26,7 +26,7 @@ It has preliminary support for Matthew Roberts advance algorithm http://reprap.org/pipermail/reprap-dev/2011-May/003323.html */ -#include + #include "Marlin.h" #include "ultralcd.h" @@ -40,6 +40,10 @@ #include "language.h" #include "pins_arduino.h" +#if DIGIPOTSS_PIN > -1 +#include +#endif + #define VERSION_STRING "1.0.0" // look here for descriptions of gcodes: http://linuxcnc.org/handbook/gcode/g-code.html diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index 94eaba3ab..1edb4560d 100644 --- a/Marlin/stepper.cpp +++ b/Marlin/stepper.cpp @@ -28,7 +28,9 @@ #include "ultralcd.h" #include "language.h" #include "speed_lookuptable.h" +#if DIGIPOTSS_PIN > -1 #include +#endif //===========================================================================