diff options
| author | William D. Jones <[email protected]> | 2019-09-23 23:11:47 -0400 |
|---|---|---|
| committer | William D. Jones <[email protected]> | 2019-09-23 23:12:04 -0400 |
| commit | 11de9f0ffd4666891347e97729ea252b9ff305f5 (patch) | |
| tree | 82006eab2d3ad049020c2a806ba51fd6964ab112 /examples/device/hid_composite/src | |
| parent | 7ba8e818527eca1c16946ef8f58a0cde807fb3f3 (diff) | |
examples: Allow user to override EP0 size.
Diffstat (limited to 'examples/device/hid_composite/src')
| -rw-r--r-- | examples/device/hid_composite/src/tusb_config.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/device/hid_composite/src/tusb_config.h b/examples/device/hid_composite/src/tusb_config.h index 57fcbd595..13ecfa415 100644 --- a/examples/device/hid_composite/src/tusb_config.h +++ b/examples/device/hid_composite/src/tusb_config.h @@ -69,7 +69,9 @@ // DEVICE CONFIGURATION //-------------------------------------------------------------------- -#define CFG_TUD_ENDOINT0_SIZE 64 +#ifndef CFG_TUD_ENDOINT0_SIZE +#define CFG_TUD_ENDOINT0_SIZE 64 +#endif //------------- CLASS -------------// #define CFG_TUD_HID 1 |
