Skip to content

Commit 7b00bea

Browse files
committed
Change method to GetIeeeAddress
1 parent fe549b3 commit 7b00bea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nanoFramework.Hardware.TI/Utilities.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static byte[] GetIeeeAddress()
2424
{
2525
if (_deviceIeeeAddress == null)
2626
{
27-
NativeGetIeeeAddress();
27+
_deviceIeeeAddress = NativeGetIeeeAddress();
2828
}
2929

3030
return _deviceIeeeAddress;
@@ -33,7 +33,7 @@ public static byte[] GetIeeeAddress()
3333
#region native methods calls
3434

3535
[MethodImpl(MethodImplOptions.InternalCall)]
36-
private static extern void NativeGetIeeeAddress();
36+
private static extern byte[] NativeGetIeeeAddress();
3737

3838
#endregion
3939
}

0 commit comments

Comments
 (0)