cmsisDAP: v1: uses INFO_ID_MAX_PKT_SZ to fix xfer length

This commit is contained in:
Gwenhael Goavec-Merou
2026-07-02 08:44:29 +02:00
parent 468f787fdf
commit bba86d8be3
2 changed files with 30 additions and 12 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ class CmsisDAP: public JtagInterface {
unsigned char *_ll_buffer; /**< message buffer */
unsigned char *_buffer; /**< subset of _ll_buffer */
#ifdef ENABLE_CMSISDAP_V2
int _packet_size; /**< USB bulk packet size */
int _pkt_sz; /**< USB bulk packet size */
int _ep_in; /**< USB bulk in endpoint */
int _ep_out; /**< USB bulk out endpoint */
#endif