From 9ac9649183dea881930e7eb4f7e8757bdce9d88f Mon Sep 17 00:00:00 2001 From: AnHardt Date: Tue, 16 Oct 2018 13:09:02 +0200 Subject: [PATCH] Mixer - update descriptions (#12108) --- Marlin/src/gcode/feature/mixing/M163-M165.cpp | 4 +++- Marlin/src/gcode/gcode.h | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Marlin/src/gcode/feature/mixing/M163-M165.cpp b/Marlin/src/gcode/feature/mixing/M163-M165.cpp index 478aa95a1..0e62f7c29 100644 --- a/Marlin/src/gcode/feature/mixing/M163-M165.cpp +++ b/Marlin/src/gcode/feature/mixing/M163-M165.cpp @@ -43,9 +43,9 @@ void GcodeSuite::M163() { /** * M164: Normalize and commit the mix. - * If 'S' is given store as a virtual tool. Else in T0. * * S[index] The virtual tool to store + * If 'S' is omitted update the active virtual tool. */ void GcodeSuite::M164() { #if MIXING_VIRTUAL_TOOLS > 1 @@ -55,6 +55,8 @@ void GcodeSuite::M164() { #endif if (WITHIN(tool_index, 0, MIXING_VIRTUAL_TOOLS - 1)) mixer.normalize(tool_index); + else + mixer.normalize(mixer.get_current_v_tool()); } #if ENABLED(DIRECT_MIXING_IN_G1) diff --git a/Marlin/src/gcode/gcode.h b/Marlin/src/gcode/gcode.h index fea79c210..ec2d3fe26 100644 --- a/Marlin/src/gcode/gcode.h +++ b/Marlin/src/gcode/gcode.h @@ -146,8 +146,8 @@ * M150 - Set Status LED Color as R U B P. Values 0-255. (Requires BLINKM, RGB_LED, RGBW_LED, NEOPIXEL_LED, or PCA9632). * M155 - Auto-report temperatures with interval of S. (Requires AUTO_REPORT_TEMPERATURES) * M163 - Set a single proportion for a mixing extruder. (Requires MIXING_EXTRUDER) - * M164 - Commit the mix (Req. MIXING_EXTRUDER) and optionally save as a virtual tool (Requires MIXING_EXTRUDER) - * M165 - Set the mix for a mixing extruder with parameters ABCDHI. (Requires MIXING_EXTRUDER and DIRECT_MIXING_IN_G1) + * M164 - Commit the mix and save to a virtual tool (current, or as specified by 'S'). (Requires MIXING_EXTRUDER) + * M165 - Set the mix for the mixing extruder (and current virtual tool) with parameters ABCDHI. (Requires MIXING_EXTRUDER and DIRECT_MIXING_IN_G1) * M190 - Sxxx Wait for bed current temp to reach target temp. ** Waits only when heating! ** * Rxxx Wait for bed current temp to reach target temp. ** Waits for heating or cooling. ** * M200 - Set filament diameter, D, setting E axis units to cubic. (Use S0 to revert to linear units.)