Merge pull request #18 from k-eex/fix
Fix typo in setting y-acceleration in M201/M202
This commit is contained in:
commit
649a98f80f
1 changed files with 2 additions and 2 deletions
|
|
@ -782,11 +782,11 @@ inline void process_commands()
|
|||
#ifdef RAMP_ACCELERATION
|
||||
case 201: // M201
|
||||
if(code_seen('X')) x_steps_per_sqr_second = code_value() * x_steps_per_unit;
|
||||
if(code_seen('Y')) x_steps_per_sqr_second = code_value() * y_steps_per_unit;
|
||||
if(code_seen('Y')) y_steps_per_sqr_second = code_value() * y_steps_per_unit;
|
||||
break;
|
||||
case 202: // M202
|
||||
if(code_seen('X')) x_travel_steps_per_sqr_second = code_value() * x_steps_per_unit;
|
||||
if(code_seen('Y')) x_travel_steps_per_sqr_second = code_value() * y_steps_per_unit;
|
||||
if(code_seen('Y')) y_travel_steps_per_sqr_second = code_value() * y_steps_per_unit;
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue