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