This commit is contained in:
Michael Moon 2011-02-12 22:20:33 +11:00
parent 79674da51b
commit 6c1040c740
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ void process_gcode_command() {
if (next_target.target.Y < (Y_MIN * STEPS_PER_MM_Y)) if (next_target.target.Y < (Y_MIN * STEPS_PER_MM_Y))
next_target.target.Y = Y_MIN; next_target.target.Y = Y_MIN;
#endif #endif
#ifdef Y_MAY #ifdef Y_MAX
if (next_target.target.Y > (Y_MAX * STEPS_PER_MM_Y)) if (next_target.target.Y > (Y_MAX * STEPS_PER_MM_Y))
next_target.target.Y = Y_MAX; next_target.target.Y = Y_MAX;
#endif #endif