From 69412f65dd9accc0503b0b40d35635ae46951dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Sun, 2 Sep 2018 20:19:05 +0200 Subject: [PATCH] Fix custom_crash_callback declaration for Arduino IDE 1.8.6 (#1169) --- code/espurna/config/prototypes.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/espurna/config/prototypes.h b/code/espurna/config/prototypes.h index fc34a11d..4cc80db9 100644 --- a/code/espurna/config/prototypes.h +++ b/code/espurna/config/prototypes.h @@ -31,6 +31,9 @@ extern "C" { // ----------------------------------------------------------------------------- void debugSend(const char * format, ...); void debugSend_P(PGM_P format, ...); +extern "C" { + void custom_crash_callback(struct rst_info*, uint32_t, uint32_t); +} // ----------------------------------------------------------------------------- // Domoticz