From b497cc8cd4c0a111dca97e2f33d1a07499178eff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Tue, 14 Aug 2018 18:57:45 +0200 Subject: [PATCH] Init Serial on RELAY_PROVIDER_STM (#1130) --- code/espurna/system.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/espurna/system.ino b/code/espurna/system.ino index e437bccc..f858216b 100644 --- a/code/espurna/system.ino +++ b/code/espurna/system.ino @@ -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