jlink: Fix wrong sized array.

This commit is contained in:
Uwe Bonnes 2020-06-06 14:56:42 +02:00 committed by UweBonnes
parent dec431f869
commit 5097a23196
1 changed files with 1 additions and 1 deletions

View File

@ -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);