|
@@ -5191,9 +5191,9 @@ void process_next_command() {
|
5191
|
5191
|
|
5192
|
5192
|
if (code_seen('G')) {
|
5193
|
5193
|
|
5194
|
|
- int gCode = code_value_short();
|
|
5194
|
+ int codenum = code_value_short();
|
5195
|
5195
|
|
5196
|
|
- switch(gCode) {
|
|
5196
|
+ switch (codenum) {
|
5197
|
5197
|
|
5198
|
5198
|
// G0, G1
|
5199
|
5199
|
case 0:
|
|
@@ -5205,7 +5205,7 @@ void process_next_command() {
|
5205
|
5205
|
#ifndef SCARA
|
5206
|
5206
|
case 2: // G2 - CW ARC
|
5207
|
5207
|
case 3: // G3 - CCW ARC
|
5208
|
|
- gcode_G2_G3(gCode == 2);
|
|
5208
|
+ gcode_G2_G3(codenum == 2);
|
5209
|
5209
|
break;
|
5210
|
5210
|
#endif
|
5211
|
5211
|
|
|
@@ -5218,7 +5218,7 @@ void process_next_command() {
|
5218
|
5218
|
|
5219
|
5219
|
case 10: // G10: retract
|
5220
|
5220
|
case 11: // G11: retract_recover
|
5221
|
|
- gcode_G10_G11(gCode == 10);
|
|
5221
|
+ gcode_G10_G11(codenum == 10);
|
5222
|
5222
|
break;
|
5223
|
5223
|
|
5224
|
5224
|
#endif //FWRETRACT
|
|
@@ -5245,7 +5245,7 @@ void process_next_command() {
|
5245
|
5245
|
|
5246
|
5246
|
case 31: // G31: dock the sled
|
5247
|
5247
|
case 32: // G32: undock the sled
|
5248
|
|
- dock_sled(gCode == 31);
|
|
5248
|
+ dock_sled(codenum == 31);
|
5249
|
5249
|
break;
|
5250
|
5250
|
|
5251
|
5251
|
#endif // Z_PROBE_SLED
|