Fix cxd56 function signature

This commit is contained in:
Scott Shawcroft 2020-06-29 17:17:46 -07:00
parent 1a0c10c328
commit 965a40b6a1
No known key found for this signature in database
GPG Key ID: 9349BC7E64B1921E

View File

@ -130,7 +130,7 @@ bool common_hal_busio_spi_read(busio_spi_obj_t *self, uint8_t *data, size_t len,
return true;
}
bool common_hal_busio_spi_transfer(busio_spi_obj_t *self, uint8_t *data_out, uint8_t *data_in, size_t len) {
bool common_hal_busio_spi_transfer(busio_spi_obj_t *self, const uint8_t *data_out, uint8_t *data_in, size_t len) {
SPI_EXCHANGE(self->spi_dev, data_out, data_in, len);
return true;