未验证 提交 c4050413 编写于 作者: P Patrick Grawehr 提交者: GitHub

Fix creation of driver for Raspberry Pi 4 CM (#1907)

The RaspberryPi3CMDriver needs to be used in this case
上级 10f06f1b
......@@ -141,8 +141,8 @@ public class RaspberryPi3Driver : GpioDriver
RaspberryBoardInfo.Model.RaspberryPiZeroW or
RaspberryBoardInfo.Model.RaspberryPiZero2W or
RaspberryBoardInfo.Model.RaspberryPi4 or
RaspberryBoardInfo.Model.RaspberryPi400 or
RaspberryBoardInfo.Model.RaspberryPiComputeModule4 => new RaspberryPi3LinuxDriver(),
RaspberryBoardInfo.Model.RaspberryPi400 => new RaspberryPi3LinuxDriver(),
RaspberryBoardInfo.Model.RaspberryPiComputeModule4 or
RaspberryBoardInfo.Model.RaspberryPiComputeModule3 => new RaspberryPiCm3Driver(),
_ => null,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册