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 0c0d35a commit 1326a41Copy full SHA for 1326a41
tests/drivers/spi/spi_loopback/src/spi.c
@@ -225,9 +225,10 @@ static int spi_rx_half_end(struct spi_config *spi_conf)
225
.len = BUF_SIZE,
226
},
227
};
228
+ u8_t dummy_rx_buf[8] = {};
229
struct spi_buf rx_bufs[] = {
230
{
- .buf = NULL,
231
+ .buf = dummy_rx_buf,
232
.len = 8,
233
234
@@ -271,17 +272,18 @@ static int spi_rx_every_4(struct spi_config *spi_conf)
271
272
273
274
275
+ u8_t dummy_rx_buf[4] = {};
276
277
278
279
.len = 4,
280
281
282
.buf = buffer_rx,
283
284
285
286
287
288
289
0 commit comments