Remove one redundant st_synchronize() call

flash: -4
RAM: 0

st_synchronize() is called just before leaving gcode_G28() so we don't need to call it again just after leaving gcode_G28()
This commit is contained in:
Guðni Már Gilbert 2022-02-15 07:10:53 +00:00 committed by Alex Voinea
parent 89fc9f7a62
commit 22582e560e

View file

@ -641,7 +641,6 @@ void crashdet_detected(uint8_t mask)
lcd_setstatus(msg);
gcode_G28(true, true, false); //home X and Y
st_synchronize();
if (automatic_recovery_after_crash) {
enquecommand_P(PSTR("CRASH_RECOVER"));