aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--klippy/mcu.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/klippy/mcu.py b/klippy/mcu.py
index 0f97205d..00af7e08 100644
--- a/klippy/mcu.py
+++ b/klippy/mcu.py
@@ -571,6 +571,8 @@ class MCU:
raise error("Firmware error during config: %s" % (
self._shutdown_msg,))
raise error("Unable to configure printer")
+ elif self._printer.get_startup_state() == 'firmware_restart':
+ raise error("Failed automated reset of micro-controller")
if self._config_crc != config_params['crc']:
self._check_restart("CRC mismatch")
raise error("Printer CRC does not match config")