Browse Source

Init Serial on RELAY_PROVIDER_STM (#1130)

ech1560
Xose Pérez 6 years ago
parent
commit
b497cc8cd4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/system.ino

+ 1
- 1
code/espurna/system.ino View File

@ -140,7 +140,7 @@ void _systemSetupSpecificHardware() {
// These devices use the hardware UART
// to communicate to secondary microcontrollers
#if defined(ITEAD_SONOFF_RFBRIDGE) || defined(ITEAD_SONOFF_DUAL) || defined(STM_RELAY)
#if defined(ITEAD_SONOFF_RFBRIDGE) || defined(ITEAD_SONOFF_DUAL) || (RELAY_PROVIDER == RELAY_PROVIDER_STM)
Serial.begin(SERIAL_BAUDRATE);
#endif


Loading…
Cancel
Save