Skip to content

Commit

Permalink
lpc11u35_if: keep DAP_PACKET_SIZE at 64 bytes even when HID is disabled
Browse files Browse the repository at this point in the history
Suggested by @elfmimi
  • Loading branch information
mbrossard committed Jan 5, 2022
1 parent 8f31e4f commit 8aaa141
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions source/hic_hal/nxp/lpc11u35/DAP_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,7 @@ This information includes:
/// This configuration settings is used to optimize the communication performance with the
/// debugger and depends on the USB peripheral. Typical vales are 64 for Full-speed USB HID or WinUSB,
/// 1024 for High-speed USB HID and 512 for High-speed USB WinUSB.
#ifndef HID_ENDPOINT //HID end points currently set limits to 64
#define DAP_PACKET_SIZE 512 ///< Specifies Packet Size in bytes.
#else
#define DAP_PACKET_SIZE 64 ///< Specifies Packet Size in bytes.
#endif

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

0 comments on commit 8aaa141

Please sign in to comment.