summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Dahlman <gdahlman@hotmail.com>2011-12-06 12:30:56 -0800
committerGreg Dahlman <gdahlman@hotmail.com>2011-12-06 12:30:56 -0800
commit49c5c65dcf22941e581b89307730cc6f450fea1f (patch)
treed48a3efe1c56d9d010b50a86d97f87adf829ae10
parent2c00d1580fcfac3d3719f83f660f63e7e8523120 (diff)
Fix ifdef with missing # in Sprinter.pde and add 644 non P to the Gen 7 board in pins.h
-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