Skip to content

Commit b497cc8

Browse files
committed
Init Serial on RELAY_PROVIDER_STM (#1130)
1 parent 7c0b9e6 commit b497cc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/espurna/system.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ void _systemSetupSpecificHardware() {
140140

141141
// These devices use the hardware UART
142142
// to communicate to secondary microcontrollers
143-
#if defined(ITEAD_SONOFF_RFBRIDGE) || defined(ITEAD_SONOFF_DUAL) || defined(STM_RELAY)
143+
#if defined(ITEAD_SONOFF_RFBRIDGE) || defined(ITEAD_SONOFF_DUAL) || (RELAY_PROVIDER == RELAY_PROVIDER_STM)
144144
Serial.begin(SERIAL_BAUDRATE);
145145
#endif
146146

0 commit comments

Comments
 (0)