From 2ab47cd20c87aa6798f13e0f5180cb90c9cba614 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 20 May 2018 12:52:19 -0400 Subject: extruder: Fix SET_PRESSURE_ADVANCE so that it works with multiple extruders Use the new gcode.register_mux_command() so that SET_PRESSURE_ADVANCE works correctly with multiple extruders. Signed-off-by: Kevin O'Connor --- docs/G-Codes.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/G-Codes.md b/docs/G-Codes.md index 429dff74..aa795205 100644 --- a/docs/G-Codes.md +++ b/docs/G-Codes.md @@ -84,9 +84,10 @@ The following standard commands are supported: [ACCEL_TO_DECEL=] [JUNCTION_DEVIATION=]`: Modify the printer's velocity limits. Note that one may only set values less than or equal to the limits specified in the config file. -- `SET_PRESSURE_ADVANCE [ADVANCE=] +- `SET_PRESSURE_ADVANCE [EXTRUDER=] [ADVANCE=] [ADVANCE_LOOKAHEAD_TIME=]`: - Set pressure advance parameters. + Set pressure advance parameters. If EXTRUDER is not specified, it + defaults to the active extruder. - `RESTART`: This will cause the host software to reload its config and perform an internal reset. This command will not clear error state from the micro-controller (see FIRMWARE_RESTART) nor will it -- cgit v1.2.3-70-g09d2