|
@@ -37,11 +37,9 @@
|
37
|
37
|
*/
|
38
|
38
|
void GcodeSuite::M220() {
|
39
|
39
|
|
40
|
|
- #if HAS_PRUSA_MMU2
|
41
|
|
- static int16_t backup_feedrate_percentage = 100;
|
42
|
|
- if (parser.seen('B')) backup_feedrate_percentage = feedrate_percentage;
|
43
|
|
- if (parser.seen('R')) feedrate_percentage = backup_feedrate_percentage;
|
44
|
|
- #endif
|
|
40
|
+ static int16_t backup_feedrate_percentage = 100;
|
|
41
|
+ if (parser.seen('B')) backup_feedrate_percentage = feedrate_percentage;
|
|
42
|
+ if (parser.seen('R')) feedrate_percentage = backup_feedrate_percentage;
|
45
|
43
|
|
46
|
44
|
if (parser.seenval('S')) feedrate_percentage = parser.value_int();
|
47
|
45
|
|