|
|
@ -69,13 +69,12 @@ void GcodeSuite::M166() {
|
|
|
|
|
|
|
|
|
|
|
|
if (parser.seen('S')) mixer.gradient.enabled = parser.value_bool();
|
|
|
|
if (parser.seen('S')) mixer.gradient.enabled = parser.value_bool();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mixer.refresh_gradient();
|
|
|
|
|
|
|
|
|
|
|
|
SERIAL_ECHOPGM("Gradient Mix ");
|
|
|
|
SERIAL_ECHOPGM("Gradient Mix ");
|
|
|
|
serialprint_onoff(mixer.gradient.enabled);
|
|
|
|
serialprint_onoff(mixer.gradient.enabled);
|
|
|
|
|
|
|
|
|
|
|
|
if (mixer.gradient.enabled) {
|
|
|
|
if (mixer.gradient.enabled) {
|
|
|
|
|
|
|
|
|
|
|
|
mixer.refresh_gradient();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(GRADIENT_VTOOL)
|
|
|
|
#if ENABLED(GRADIENT_VTOOL)
|
|
|
|
if (mixer.gradient.vtool_index >= 0) {
|
|
|
|
if (mixer.gradient.vtool_index >= 0) {
|
|
|
|
SERIAL_ECHOPAIR(" (T", int(mixer.gradient.vtool_index));
|
|
|
|
SERIAL_ECHOPAIR(" (T", int(mixer.gradient.vtool_index));
|
|
|
|