xfdump: fix build with XFLASH_DUMP disabled
This commit is contained in:
parent
a6e372e696
commit
1a88e339bf
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
#include <avr/interrupt.h>
|
#include <avr/interrupt.h>
|
||||||
|
|
||||||
#include "xflash_dump.h"
|
#include "xflash_dump.h"
|
||||||
|
#ifdef XFLASH_DUMP
|
||||||
#include "xflash.h"
|
#include "xflash.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -104,3 +105,4 @@ void xfdump_full_dump_and_reset(bool crash)
|
||||||
wdt_enable(0);
|
wdt_enable(0);
|
||||||
while(true);
|
while(true);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue