Move "WDR dump" inside EMERGENGENCY_DUMP
This commit is contained in:
parent
63f870c089
commit
c375610668
6 changed files with 20 additions and 20 deletions
Firmware
|
@ -6,14 +6,7 @@
|
|||
#include "xflash_dump.h"
|
||||
#ifdef XFLASH_DUMP
|
||||
#include "xflash.h"
|
||||
#include "Marlin.h"
|
||||
|
||||
ISR(WDT_vect)
|
||||
{
|
||||
WRITE(BEEPER, 1);
|
||||
eeprom_update_byte((uint8_t*)EEPROM_CRASH_ACKNOWLEDGED, 0);
|
||||
xfdump_full_dump_and_reset(dump_crash_source::watchdog);
|
||||
}
|
||||
#include "Marlin.h" // for softReset
|
||||
|
||||
bool xfdump_check_state()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue