We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9972132 commit 3a608e1Copy full SHA for 3a608e1
System.Device.Gpio/GpioPin.cs
@@ -135,9 +135,6 @@ public void SetPinMode(PinMode value)
135
{
136
lock (_syncLock)
137
138
- // check if pin has been disposed
139
- if (_disposedValue) { throw new ObjectDisposedException(); }
140
-
141
// the native call takes care of:
142
// 1) validating if the requested pin mode is supported
143
// 2) throwing ArgumentException otherwise
@@ -166,9 +163,6 @@ public void Write(PinValue value)
166
163
167
164
168
165
169
170
171
172
173
174
0 commit comments