1
0
mirror of https://gitee.com/openLuat/LuatOS synced 2025-08-17 22:18:03 +08:00

fix:手动控制cs时,spi.setup不需要写cs

This commit is contained in:
alienwalker 2023-02-04 20:09:52 +08:00
parent 61ba2ab248
commit 9afd2f381c

View File

@ -26,7 +26,7 @@ sys.taskInit(function()
local result = spi.setup(
spiId,--串口id
cs,
nil,
0,--CPHA
0,--CPOL
8,--数据宽度