Skip to content

Commit 9c7f05e

Browse files
Fix initialization of slave device (#5)
1 parent 97eeb10 commit 9c7f05e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

System.Device.I2c.Slave/I2cSlaveDevice.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ public I2cSlaveDevice(
6666

6767
// create the buffer
6868
_buffer = new byte[1];
69+
70+
NativeInit();
6971
}
7072

7173
/// <summary>

0 commit comments

Comments
 (0)