|
@@ -29,6 +29,8 @@
|
29
|
29
|
* Parameters
|
30
|
30
|
* S<percent> : Set the feed rate percentage factor
|
31
|
31
|
*
|
|
32
|
+ * Report the current speed percentage factor if no parameter is specified
|
|
33
|
+ *
|
32
|
34
|
* With PRUSA_MMU2...
|
33
|
35
|
* B : Flag to back up the current factor
|
34
|
36
|
* R : Flag to restore the last-saved factor
|
|
@@ -43,4 +45,9 @@ void GcodeSuite::M220() {
|
43
|
45
|
|
44
|
46
|
if (parser.seenval('S')) feedrate_percentage = parser.value_int();
|
45
|
47
|
|
|
48
|
+ if (!parser.seen_any()) {
|
|
49
|
+ SERIAL_ECHOPAIR("FR:", feedrate_percentage);
|
|
50
|
+ SERIAL_CHAR('%');
|
|
51
|
+ SERIAL_EOL();
|
|
52
|
+ }
|
46
|
53
|
}
|