未验证 提交 49e0b405 编写于 作者: L Laurent Ellerbach 提交者: GitHub

Bug fix on SPI for FT4222 (#1021)

上级 2449c065
......@@ -248,7 +248,7 @@ namespace Iot.Device.Ft4222
{
Span<byte> toRead = stackalloc byte[1];
Read(toRead);
return toRead[1];
return toRead[0];
}
/// <inheritdoc/>
......
......@@ -158,6 +158,6 @@ For the moment this project supports only SPI and I2C in a Windows environement.
- [ ] SPI support for MacOS
- [ ] I2C support for MacOS
- [ ] GPIO support for MacOS
- [ ] SPI support for Linux 64
- [ ] I2C support for Linux 64
- [ ] GPIO support for Linux 64
- [x] SPI support for Linux 64
- [x] I2C support for Linux 64
- [x] GPIO support for Linux 64
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册