diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2020-06-29 17:17:46 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2020-06-29 17:17:46 -0700 |
| commit | 965a40b6a19a9eb35ecc4256aa850d41c88a0137 (patch) | |
| tree | 8836da974f5c814fff0923ca9fd7e31ebc437f81 | |
| parent | 1a0c10c328842300aca8ed5113815cfb5bf95d26 (diff) | |
Fix cxd56 function signature
| -rw-r--r-- | ports/cxd56/common-hal/busio/SPI.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/cxd56/common-hal/busio/SPI.c b/ports/cxd56/common-hal/busio/SPI.c index 718a8ff16..2d365d482 100644 --- a/ports/cxd56/common-hal/busio/SPI.c +++ b/ports/cxd56/common-hal/busio/SPI.c @@ -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; |
