|
@@ -821,6 +821,9 @@ void MMU2::manage_response(const bool move_axes, const bool turn_off_nozzle) {
|
821
|
821
|
LCD_MESSAGE(MSG_MMU2_RESUMING);
|
822
|
822
|
ATTN_BUZZ(true);
|
823
|
823
|
|
|
824
|
+ #pragma GCC diagnostic push
|
|
825
|
+ #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
|
826
|
+
|
824
|
827
|
if (move_axes && all_axes_homed()) {
|
825
|
828
|
// Move XY to starting position, then Z
|
826
|
829
|
do_blocking_move_to_xy(resume_position, feedRate_t(NOZZLE_PARK_XY_FEEDRATE));
|
|
@@ -828,6 +831,8 @@ void MMU2::manage_response(const bool move_axes, const bool turn_off_nozzle) {
|
828
|
831
|
// Move Z_AXIS to saved position
|
829
|
832
|
do_blocking_move_to_z(resume_position.z, feedRate_t(NOZZLE_PARK_Z_FEEDRATE));
|
830
|
833
|
}
|
|
834
|
+
|
|
835
|
+ #pragma GCC diagnostic pop
|
831
|
836
|
}
|
832
|
837
|
}
|
833
|
838
|
}
|