Fixed an error in string length calculation

This commit is contained in:
Alex Taradov 2022-03-04 16:04:12 -08:00
parent 0644042b94
commit 61d9fe21be
2 changed files with 1 additions and 1 deletions

Binary file not shown.

2
dap.c
View File

@ -830,7 +830,7 @@ static void dap_info(void)
dap_resp_add_byte(*str++);
dap_resp_add_byte(0);
dap_resp_set_byte(1, dap_resp_ptr-1);
dap_resp_set_byte(1, dap_resp_ptr-2);
break;
}