Skip to content

Commit

Permalink
Fix issue with cross thread access to GpioPin (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
josesimoes authored Sep 13, 2022
1 parent 3d5c7e8 commit 470fe2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion System.Device.Gpio/GpioPinEventListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace System.Device.Gpio
internal class GpioPinEventListener : IEventProcessor, IEventListener
{
// Map of pin numbers to GpioPin objects.
private static readonly ArrayList _pinMap = new ArrayList();
private readonly ArrayList _pinMap = new ArrayList();

public GpioPinEventListener()
{
Expand Down
2 changes: 1 addition & 1 deletion System.Device.Gpio/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

////////////////////////////////////////////////////////////////
// update this whenever the native assembly signature changes //
[assembly: AssemblyNativeVersion("100.1.0.4")]
[assembly: AssemblyNativeVersion("100.1.0.5")]
////////////////////////////////////////////////////////////////

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

0 comments on commit 470fe2c

Please sign in to comment.