We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b3c1fe commit c4bc728Copy full SHA for c4bc728
libraries/SPI/SPI.cpp
@@ -59,7 +59,7 @@ uint16_t arduino::ZephyrSPI::transfer16(uint16_t data) {
59
60
void arduino::ZephyrSPI::transfer(void *buf, size_t count) {
61
int ret;
62
- const struct spi_buf tx_buf = {.buf = &buf, .len = count};
+ const struct spi_buf tx_buf = {.buf = buf, .len = count};
63
const struct spi_buf_set tx_buf_set = {
64
.buffers = &tx_buf,
65
.count = 1,
0 commit comments