Skip to content

Commit 8aaa141

Browse files
committed
lpc11u35_if: keep DAP_PACKET_SIZE at 64 bytes even when HID is disabled
Suggested by @elfmimi
1 parent 8f31e4f commit 8aaa141

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

source/hic_hal/nxp/lpc11u35/DAP_config.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,7 @@ This information includes:
9494
/// This configuration settings is used to optimize the communication performance with the
9595
/// debugger and depends on the USB peripheral. Typical vales are 64 for Full-speed USB HID or WinUSB,
9696
/// 1024 for High-speed USB HID and 512 for High-speed USB WinUSB.
97-
#ifndef HID_ENDPOINT //HID end points currently set limits to 64
98-
#define DAP_PACKET_SIZE 512 ///< Specifies Packet Size in bytes.
99-
#else
10097
#define DAP_PACKET_SIZE 64 ///< Specifies Packet Size in bytes.
101-
#endif
10298

10399
/// Maximum Package Buffers for Command and Response data.
104100
/// This configuration settings is used to optimize the communication performance with the

0 commit comments

Comments
 (0)