drivers: led_strip: Fix typo in APA102 driver
This typo was causing a compile error when ever the APA102 led_strip driver was enabled. Signed-off-by: Roman Vaughan <nzsmartie@gmail.com>
This commit is contained in:
parent
fa4c07120c
commit
ebf5dfb058
|
@ -40,7 +40,7 @@ static int apa102_update(struct device *dev, void *buf, size_t size)
|
|||
};
|
||||
const struct spi_buf_set tx = {
|
||||
.buffers = tx_bufs,
|
||||
.count = ARRAY_SIZE(tx)
|
||||
.count = ARRAY_SIZE(tx_bufs)
|
||||
};
|
||||
|
||||
return spi_write(data->spi, &data->cfg, &tx);
|
||||
|
|
Loading…
Reference in a new issue