summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkliment <kliment.yanev@gmail.com>2011-05-13 12:55:13 -0700
committerkliment <kliment.yanev@gmail.com>2011-05-13 12:55:13 -0700
commit649a98f80f93da353929823965d35cae1a3f0dc1 (patch)
tree1d139f2cabbf79406b5182372ff9529bb73df3a2
parent1963409abade561be742ecd9e8e584047727ba55 (diff)
parent9f4dd2e3c9a794e9f243924a4f191b1f30e25042 (diff)
Merge pull request #18 from k-eex/fix
Fix typo in setting y-acceleration in M201/M202
-rw-r--r--Tonokip_Firmware/Tonokip_Firmware.pde4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tonokip_Firmware/Tonokip_Firmware.pde b/Tonokip_Firmware/Tonokip_Firmware.pde
index c2ad00e..a8fc54a 100644
--- a/Tonokip_Firmware/Tonokip_Firmware.pde
+++ b/Tonokip_Firmware/Tonokip_Firmware.pde
@@ -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
}