Browse Source

relay: unwanted pin write on init

pull/2558/head
Maxim Prokhorov 1 year ago
parent
commit
d78d783521
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      code/espurna/relay.cpp

+ 0
- 4
code/espurna/relay.cpp View File

@ -1232,10 +1232,6 @@ struct GpioProvider : public RelayProviderBase {
_reset_pin->pinMode(OUTPUT);
}
if (_type == RelayType::Inverse) {
_pin->digitalWrite(HIGH);
}
return true;
}


Loading…
Cancel
Save