提交 68671014 编写于 作者: Z zochris 提交者: Jose Perez Rodriguez

Fix Windows SPI driver not returning values (#496)

上级 8a6b9cc8
......@@ -115,6 +115,7 @@ namespace System.Device.Spi.Drivers
}
byte[] byteArray = new byte[readBuffer.Length];
_winDevice.TransferFullDuplex(writeBuffer.ToArray(), byteArray);
byteArray.CopyTo(readBuffer);
}
public override void Dispose(bool disposing)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册