File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,11 @@ public sealed class PwmChannel : IDisposable
1717 [ System . Diagnostics . DebuggerBrowsable ( System . Diagnostics . DebuggerBrowsableState . Never ) ]
1818 private uint _dutyCycle ;
1919
20+ #pragma warning disable 0414
2021 [ System . Diagnostics . DebuggerBrowsable ( System . Diagnostics . DebuggerBrowsableState . Never ) ]
2122 private PwmPulsePolarity _polarity ;
22-
23+ #pragma warning restore 0414
24+
2325 [ System . Diagnostics . DebuggerBrowsable ( System . Diagnostics . DebuggerBrowsableState . Never ) ]
2426 private int _pinNumber ;
2527
@@ -165,7 +167,7 @@ public void Dispose()
165167 #region external calls to native implementations
166168
167169 [ MethodImpl ( MethodImplOptions . InternalCall ) ]
168- private extern bool NativeInit ( ) ;
170+ private extern void NativeInit ( ) ;
169171
170172 [ MethodImpl ( MethodImplOptions . InternalCall ) ]
171173 private extern uint NativeSetDesiredFrequency ( uint desiredFrequency ) ;
You can’t perform that action at this time.
0 commit comments