Skip to content

Commit 641300e

Browse files
committed
Code style fixes
***NO_CI***
1 parent 5b0c10b commit 641300e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

System.Device.Gpio/GpioController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ private void GpioControllerValueChanged(
267267
}
268268

269269
// sanity check
270-
if(gpioPin != null)
270+
if (gpioPin != null)
271271
{
272272
if (gpioPin.GpioEvents.HasFlag(PinEventTypes.Falling)
273273
&& e.ChangeType.HasFlag(PinEventTypes.Falling))
@@ -292,7 +292,7 @@ private void GpioControllerValueChanged(
292292
/// </summary>
293293
/// <param name="pinNumber">The pin number in the controller's numbering scheme</param>
294294
/// <param name="mode">The mode to be set.</param>
295-
[MethodImpl(MethodImplOptions.InternalCall)]
295+
[MethodImpl(MethodImplOptions.InternalCall)]
296296
public extern void SetPinMode(
297297
int pinNumber,
298298
PinMode mode);

System.Device.Gpio/GpioPin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public void SetPinMode(PinMode value)
143143
// 2) throwing ArgumentException otherwise
144144
// 3) store the requested pin mode in _pinMode field
145145
NativeSetPinMode(value);
146-
}
146+
}
147147
}
148148

149149
/// <summary>

0 commit comments

Comments
 (0)