Move kill check earlier during startup
This commit is contained in:
parent
2aca89d6dc
commit
4b65d49512
|
|
@ -1355,6 +1355,9 @@ void setup()
|
|||
if (!xflash_success)
|
||||
xflash_err_msg();
|
||||
|
||||
// report kill() events
|
||||
fw_kill_init();
|
||||
|
||||
#ifdef FILAMENT_SENSOR
|
||||
fsensor.init();
|
||||
#endif //FILAMENT_SENSOR
|
||||
|
|
@ -1588,9 +1591,6 @@ void setup()
|
|||
// report crash failures
|
||||
fw_crash_init();
|
||||
|
||||
// report kill() events
|
||||
fw_kill_init();
|
||||
|
||||
#ifdef UVLO_SUPPORT
|
||||
if (eeprom_read_byte((uint8_t*)EEPROM_UVLO) != 0) { //previous print was terminated by UVLO
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue