Browse Source

jlink: Fix wrong sized array.

pull/677/head
Uwe Bonnes 4 years ago
committed by UweBonnes
parent
commit
5097a23196
  1. 2
      src/platforms/hosted/jlink_adiv5_swdp.c

2
src/platforms/hosted/jlink_adiv5_swdp.c

@ -92,7 +92,7 @@ static int line_reset(bmp_info_t *info)
data[13] = 0xa5;
data[18] = 0;
uint8_t res[18];
uint8_t res[19];
send_recv(info->usb_link, cmd, 42, res, 19);
send_recv(info->usb_link, NULL, 0, res, 1);

Loading…
Cancel
Save