Skip to content

Commit 965a40b

Browse files
committed
Fix cxd56 function signature
1 parent 1a0c10c commit 965a40b

File tree

1 file changed

+1
-1
lines changed
  • ports/cxd56/common-hal/busio

1 file changed

+1
-1
lines changed

ports/cxd56/common-hal/busio/SPI.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ bool common_hal_busio_spi_read(busio_spi_obj_t *self, uint8_t *data, size_t len,
130130
return true;
131131
}
132132

133-
bool common_hal_busio_spi_transfer(busio_spi_obj_t *self, uint8_t *data_out, uint8_t *data_in, size_t len) {
133+
bool common_hal_busio_spi_transfer(busio_spi_obj_t *self, const uint8_t *data_out, uint8_t *data_in, size_t len) {
134134
SPI_EXCHANGE(self->spi_dev, data_out, data_in, len);
135135

136136
return true;

0 commit comments

Comments
 (0)