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 5f5f8a9 commit 60d9d1cCopy full SHA for 60d9d1c
ili9341/spi_stm32f4.go
@@ -41,7 +41,7 @@ func (pd *spiDriver) write8n(b byte, n int) {
41
pd.bus.Bus.CR1.SetBits(stm32.SPI_CR1_SPE)
42
}
43
44
- for i := 0; i < n-1; i++ {
+ for i := 0; i < n; i++ {
45
pd.setWord(b, i == 0, i+1 == n)
46
47
0 commit comments