Browse Source

Serial debug might cause crashes in rfbridge, disabling it by default

fastled
Xose Pérez 7 years ago
parent
commit
9a83e0a013
1 changed files with 15 additions and 14 deletions
  1. +15
    -14
      code/espurna/config/hardware.h

+ 15
- 14
code/espurna/config/hardware.h View File

@ -253,13 +253,13 @@
#elif defined(ITEAD_SONOFF_DUAL) #elif defined(ITEAD_SONOFF_DUAL)
// Info // 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 // Buttons
#define BUTTON3_RELAY 1 #define BUTTON3_RELAY 1
@ -409,15 +409,16 @@
#elif defined(ITEAD_SONOFF_RFBRIDGE) #elif defined(ITEAD_SONOFF_RFBRIDGE)
// Info // 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 #ifndef DUMMY_RELAY_COUNT
#define DUMMY_RELAY_COUNT 6
#define DUMMY_RELAY_COUNT 6
#endif #endif
#define TRACK_RELAY_STATUS 0
#define DEBUG_SERIAL_SUPPORT 0
#define TERMINAL_SUPPORT 0
// Buttons // Buttons
#define BUTTON1_PIN 0 #define BUTTON1_PIN 0


Loading…
Cancel
Save