Skip to content

Commit 2dae6b5

Browse files
authored
Fix buffer length for device unique ID (#2)
1 parent 6e19ff6 commit 2dae6b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nanoFramework.Hardware.GiantGecko/Utilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static byte[] UniqueDeviceId
3131
{
3232
if (_deviceUniqueId == null)
3333
{
34-
_deviceUniqueId = new byte[16];
34+
_deviceUniqueId = new byte[8];
3535
NativeGetDeviceUniqueId(_deviceUniqueId);
3636
}
3737

0 commit comments

Comments
 (0)