Move kill check earlier during startup

This commit is contained in:
Alex Voinea 2023-04-09 18:25:47 +02:00
parent 2aca89d6dc
commit 4b65d49512
No known key found for this signature in database
GPG Key ID: 37EDFD565CB33BAD
1 changed files with 3 additions and 3 deletions

View File

@ -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
/*