Skip to content

Commit 470fe2c

Browse files
authored
Fix issue with cross thread access to GpioPin (#55)
1 parent 3d5c7e8 commit 470fe2c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

System.Device.Gpio/GpioPinEventListener.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace System.Device.Gpio
1111
internal class GpioPinEventListener : IEventProcessor, IEventListener
1212
{
1313
// Map of pin numbers to GpioPin objects.
14-
private static readonly ArrayList _pinMap = new ArrayList();
14+
private readonly ArrayList _pinMap = new ArrayList();
1515

1616
public GpioPinEventListener()
1717
{

System.Device.Gpio/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
////////////////////////////////////////////////////////////////
1414
// update this whenever the native assembly signature changes //
15-
[assembly: AssemblyNativeVersion("100.1.0.4")]
15+
[assembly: AssemblyNativeVersion("100.1.0.5")]
1616
////////////////////////////////////////////////////////////////
1717

1818
// Setting ComVisible to false makes the types in this assembly not visible

0 commit comments

Comments
 (0)