Skip to content

Commit d5b84e4

Browse files
committed
Fix type definition
1 parent 3d61159 commit d5b84e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

McpXInterop/McpXInterop.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public static int BatchWriteFloat(int connectionId, IntPtr outValues, Device dev
109109
[UnmanagedCallersOnly(EntryPoint = "batch_write_bool")]
110110
public static int BatchWriteBool(int connectionId, IntPtr outValues, Device device, int length)
111111
{
112-
return BatchWrite<short>(connectionId, outValues, device, length);
112+
return BatchWrite<bool>(connectionId, outValues, device, length);
113113
}
114114

115115
private static int BatchRead<T>(int connectionId, IntPtr outValues, Device device, int length) where T : unmanaged

0 commit comments

Comments
 (0)