Skip to content

Commit

Permalink
@SteWers [Shutter] Fix 4 PowerON
Browse files Browse the repository at this point in the history
Fix compile error
  • Loading branch information
SteWers committed Nov 27, 2024
1 parent 7677fc2 commit 6b5a068
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasmota/tasmota_support/support_tasmota.ino
Original file line number Diff line number Diff line change
Expand Up @@ -466,9 +466,9 @@ void SetPowerOnState(void)
for (uint32_t i = 0; i < TasmotaGlobal.devices_present; i++) {
#ifdef ESP8266
if (!Settings->flag3.no_power_feedback && // SetOption63 - Don't scan relay power state at restart - #5594 and #5663
!TasmotaGlobal.power_on_delay && // SetOption47 - Delay switching relays to reduce power surge at power on
!TasmotaGlobal.power_on_delay // SetOption47 - Delay switching relays to reduce power surge at power on
#ifdef USE_SHUTTER
!Settings->flag3.shutter_mode // SetOption80 - Enable shutter support
&& !Settings->flag3.shutter_mode // SetOption80 - Enable shutter support
#endif // USE_SHUTTER
) {
if ((port < MAX_RELAYS) && PinUsed(GPIO_REL1, port)) {
Expand Down

0 comments on commit 6b5a068

Please sign in to comment.