Fix ifdef with missing # in Sprinter.pde and add 644 non P to the Gen 7 board in pins.h

This commit is contained in:
Greg Dahlman 2011-12-06 12:30:56 -08:00
parent 2c00d1580f
commit 49c5c65dcf
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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