This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
espurna-mirror
mirror of
https://github.com/xoseperez/espurna
Watch
1
Star
0
Fork
1
Code
Releases
71
Activity
Browse Source
relay: unwanted pin write on init
pull/2558/head
Maxim Prokhorov
1 year ago
parent
5a74dc146e
commit
d78d783521
1 changed files
with
0 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
;
}
Write
Preview
Loading…
Cancel
Save