M166 Gradients, LCD Menu for 2-channel Mixer (Geeetech A10M/A20M) (#13022)
This commit is contained in:
@@ -176,6 +176,10 @@ void PrintJobRecovery::save(const bool force/*=false*/, const bool save_queue/*=
|
||||
);
|
||||
#endif
|
||||
|
||||
#if ENABLED(GRADIENT_MIX)
|
||||
memcpy(&info.gradient, &mixer.gradient, sizeof(info.gradient));
|
||||
#endif
|
||||
|
||||
#if ENABLED(FWRETRACT)
|
||||
COPY(info.retract, fwretract.current_retract);
|
||||
info.retract_hop = fwretract.current_hop;
|
||||
@@ -305,6 +309,10 @@ void PrintJobRecovery::resume() {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if ENABLED(GRADIENT_MIX)
|
||||
memcpy(&mixer.gradient, &info.gradient, sizeof(info.gradient));
|
||||
#endif
|
||||
|
||||
// Restore Z (plus raise) and E positions with G92.0
|
||||
dtostrf(info.current_position[Z_AXIS] + RECOVERY_ZRAISE, 1, 3, str_1);
|
||||
dtostrf(info.current_position[E_AXIS]
|
||||
|
Reference in New Issue
Block a user