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:
parent
61ba2ab248
commit
9afd2f381c
|
@ -26,7 +26,7 @@ sys.taskInit(function()
|
|||
|
||||
local result = spi.setup(
|
||||
spiId,--串口id
|
||||
cs,
|
||||
nil,
|
||||
0,--CPHA
|
||||
0,--CPOL
|
||||
8,--数据宽度
|
||||
|
|
Loading…
Reference in New Issue
Block a user