diff options
Diffstat (limited to 'jlink_spi.c')
-rw-r--r-- | jlink_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jlink_spi.c b/jlink_spi.c index 8a69b41e..36611bf0 100644 --- a/jlink_spi.c +++ b/jlink_spi.c @@ -101,7 +101,7 @@ static bool deassert_cs(void) return true; } -static int jlink_spi_send_command(struct flashctx *flash, unsigned int writecnt, unsigned int readcnt, +static int jlink_spi_send_command(const struct flashctx *flash, unsigned int writecnt, unsigned int readcnt, const unsigned char *writearr, unsigned char *readarr) { uint32_t length; |