summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jlink_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jlink_spi.c b/jlink_spi.c
index 8a69b41e6..00e9c6dac 100644
--- a/jlink_spi.c
+++ b/jlink_spi.c
@@ -34,7 +34,7 @@
* Maximum number of bytes that can be transferred at once via the JTAG
* interface, see jaylink_jtag_io().
*/
-#define JTAG_MAX_TRANSFER_SIZE (UINT16_MAX / 8)
+#define JTAG_MAX_TRANSFER_SIZE (32768 / 8)
/*
* Default base frequency in Hz. Used when the base frequency can not be