Skip to content

Commit 137c2c5

Browse files
fix buffer storage declaration
1 parent dd7acd5 commit 137c2c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/atmel-samd/common-hal/spitarget/SPITarget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ typedef struct {
1616
uint8_t SS_pin;
1717

1818
uint8_t *mosi_packet;
19-
uint8_t *miso_packet;
19+
const uint8_t *miso_packet;
2020

2121
dma_descr_t running_dma;
2222
} spitarget_spi_target_obj_t;

0 commit comments

Comments
 (0)