optional compile with CRASH support

This commit is contained in:
proddy
2019-03-12 23:03:26 +01:00
parent fb4b23d2cc
commit 630c10d8c8
3 changed files with 42 additions and 13 deletions

View File

@@ -19,10 +19,12 @@
#include <JustWifi.h> // https://github.com/xoseperez/justwifi
#include <TelnetSpy.h> // modified from https://github.com/yasheena/telnetspy
#ifdef CRASH
#include "EEPROM.h"
extern "C" {
void custom_crash_callback(struct rst_info*, uint32_t, uint32_t);
}
#endif
#if defined(ARDUINO_ARCH_ESP32)
//#include <ESPmDNS.h>