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:
parent
89fc9f7a62
commit
22582e560e
|
|
@ -641,7 +641,6 @@ void crashdet_detected(uint8_t mask)
|
||||||
lcd_setstatus(msg);
|
lcd_setstatus(msg);
|
||||||
|
|
||||||
gcode_G28(true, true, false); //home X and Y
|
gcode_G28(true, true, false); //home X and Y
|
||||||
st_synchronize();
|
|
||||||
|
|
||||||
if (automatic_recovery_after_crash) {
|
if (automatic_recovery_after_crash) {
|
||||||
enquecommand_P(PSTR("CRASH_RECOVER"));
|
enquecommand_P(PSTR("CRASH_RECOVER"));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue