summaryrefslogtreecommitdiff
path: root/Sprinter
diff options
context:
space:
mode:
Diffstat (limited to 'Sprinter')
-rw-r--r--Sprinter/Sprinter.pde2
-rw-r--r--Sprinter/pins.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Sprinter/Sprinter.pde b/Sprinter/Sprinter.pde
index 1322b30..c8acc67 100644
--- a/Sprinter/Sprinter.pde
+++ b/Sprinter/Sprinter.pde
@@ -92,7 +92,7 @@ float axis_diff[NUM_AXIS] = {0, 0, 0, 0};
long long_step_delay_ratio = STEP_DELAY_RATIO * 100;
#endif
///oscillation reduction
-ifdef RAPID_OSCILLATION_REDUCTION
+#ifdef RAPID_OSCILLATION_REDUCTION
float cumm_wait_time_in_dir[NUM_AXIS]={0.0,0.0,0.0,0.0};
bool prev_move_direction[NUM_AXIS]={1,1,1,1};
float osc_wait_remainder = 0.0;
diff --git a/Sprinter/pins.h b/Sprinter/pins.h
index 63719f4..3bc337e 100644
--- a/Sprinter/pins.h
+++ b/Sprinter/pins.h
@@ -694,7 +694,7 @@
#if MOTHERBOARD == 7
#define KNOWN_BOARD 1
-#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__)
+#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__) && !defined(__AVR_ATmega644__)
#error Oops! Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.
#endif