Explorar o código

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()
Guðni Már Gilbert %!s(int64=3) %!d(string=hai) anos
pai
achega
22582e560e
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      Firmware/Marlin_main.cpp

+ 0 - 1
Firmware/Marlin_main.cpp

@@ -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"));