diff options
| author | hathach <[email protected]> | 2019-09-24 10:35:25 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-09-24 10:35:25 +0700 |
| commit | 1d49fb42ce1ab206eb0518d57fb67e9ac28a3206 (patch) | |
| tree | 82006eab2d3ad049020c2a806ba51fd6964ab112 /examples/device/midi_test/src | |
| parent | 7ba8e818527eca1c16946ef8f58a0cde807fb3f3 (diff) | |
| parent | 11de9f0ffd4666891347e97729ea252b9ff305f5 (diff) | |
Merge pull request #180 from cr1901/ep0-override
examples: Allow user to override EP0 size.
Diffstat (limited to 'examples/device/midi_test/src')
| -rw-r--r-- | examples/device/midi_test/src/tusb_config.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/device/midi_test/src/tusb_config.h b/examples/device/midi_test/src/tusb_config.h index d588b4df9..4a84812c5 100644 --- a/examples/device/midi_test/src/tusb_config.h +++ b/examples/device/midi_test/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_CDC 0 |
