From ff046eb0f1b480512878edaaa88263e0be5456e7 Mon Sep 17 00:00:00 2001 From: Max Prokhorov Date: Tue, 2 Jul 2019 05:41:26 +0300 Subject: [PATCH] DEBUG_SUPPORT check for crashSetup (#1807) --- code/espurna/espurna.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/espurna/espurna.ino b/code/espurna/espurna.ino index ae528d77..faefbd14 100644 --- a/code/espurna/espurna.ino +++ b/code/espurna/espurna.ino @@ -84,7 +84,9 @@ void setup() { settingsSetup(); // Init crash recorder - crashSetup(); + #if DEBUG_SUPPORT + crashSetup(); + #endif // Return bogus free heap value for broken devices // XXX: device is likely to trigger other bugs! tread carefuly