Skip to content

Commit

Permalink
Init Serial on RELAY_PROVIDER_STM (#1130)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoseperez committed Aug 14, 2018
1 parent 7c0b9e6 commit b497cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/espurna/system.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b497cc8

Please sign in to comment.