From 9a83e0a01382efc4bac01487307202ee01e69628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Mon, 28 Aug 2017 12:05:13 +0200 Subject: [PATCH] Serial debug might cause crashes in rfbridge, disabling it by default --- code/espurna/config/hardware.h | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/code/espurna/config/hardware.h b/code/espurna/config/hardware.h index fd6bb1b2..22fb1898 100644 --- a/code/espurna/config/hardware.h +++ b/code/espurna/config/hardware.h @@ -253,13 +253,13 @@ #elif defined(ITEAD_SONOFF_DUAL) // Info - #define MANUFACTURER "ITEAD_STUDIO" - #define DEVICE "SONOFF_DUAL" - #define SERIAL_BAUDRATE 19230 - #define RELAY_PROVIDER RELAY_PROVIDER_DUAL - #define DUMMY_RELAY_COUNT 2 - #define DEBUG_SERIAL_SUPPORT 0 - #define TERMINAL_SUPPORT 0 + #define MANUFACTURER "ITEAD_STUDIO" + #define DEVICE "SONOFF_DUAL" + #define SERIAL_BAUDRATE 19230 + #define RELAY_PROVIDER RELAY_PROVIDER_DUAL + #define DUMMY_RELAY_COUNT 2 + #define DEBUG_SERIAL_SUPPORT 0 + #define TERMINAL_SUPPORT 0 // Buttons #define BUTTON3_RELAY 1 @@ -409,15 +409,16 @@ #elif defined(ITEAD_SONOFF_RFBRIDGE) // Info - #define MANUFACTURER "ITEAD_STUDIO" - #define DEVICE "SONOFF_RFBRIDGE" - #define SERIAL_BAUDRATE 19200 - #define RELAY_PROVIDER RELAY_PROVIDER_RFBRIDGE - #define TRACK_RELAY_STATUS 0 - #define TERMINAL_SUPPORT 0 + #define MANUFACTURER "ITEAD_STUDIO" + #define DEVICE "SONOFF_RFBRIDGE" + #define SERIAL_BAUDRATE 19200 + #define RELAY_PROVIDER RELAY_PROVIDER_RFBRIDGE #ifndef DUMMY_RELAY_COUNT - #define DUMMY_RELAY_COUNT 6 + #define DUMMY_RELAY_COUNT 6 #endif + #define TRACK_RELAY_STATUS 0 + #define DEBUG_SERIAL_SUPPORT 0 + #define TERMINAL_SUPPORT 0 // Buttons #define BUTTON1_PIN 0