xfdump: fix build with XFLASH_DUMP disabled

This commit is contained in:
Yuri D'Elia 2021-06-08 17:17:18 +02:00
parent a6e372e696
commit 1a88e339bf

View file

@ -4,6 +4,7 @@
#include <avr/interrupt.h>
#include "xflash_dump.h"
#ifdef XFLASH_DUMP
#include "xflash.h"
@ -104,3 +105,4 @@ void xfdump_full_dump_and_reset(bool crash)
wdt_enable(0);
while(true);
}
#endif