We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0da4368 commit cd888ebCopy full SHA for cd888eb
rp2-pio/piolib/spi3w.go
@@ -88,7 +88,7 @@ func NewSPI3w(sm pio.StateMachine, dio, clk machine.Pin, baud uint32) (*SPI3w, e
88
return spiw, nil
89
}
90
91
-func (spi SPI3w) CmdWrite(cmd uint32, w []uint32) (err error) {
+func (spi *SPI3w) CmdWrite(cmd uint32, w []uint32) (err error) {
92
writeBits := (1+len(w))*32 - 1
93
var readBits uint32
94
if spi.statusEn {
0 commit comments