summaryrefslogtreecommitdiff
path: root/examples/device/hid_multiple_interface/src/main.c
diff options
context:
space:
mode:
authorMichiel van Leeuwen <[email protected]>2023-04-28 11:26:26 +0200
committerMichiel van Leeuwen <[email protected]>2023-04-28 11:26:26 +0200
commit5ade91780578bca10bae048a58fed4b788b553d1 (patch)
tree58bf4464756016c06c542ccc6b2ffe0e34b54a6a /examples/device/hid_multiple_interface/src/main.c
parent2afef458be5ddea97d286f5dd8d3925c4846ee6e (diff)
dwc2: configure fifo size to be twice the max_size
This is needed in order to always be able to fit a packet in the fifo. Writing to the fifo is done from an interrupts that fires when the fifo is half-empty, so the fifo must be twice the packet size.
Diffstat (limited to 'examples/device/hid_multiple_interface/src/main.c')
0 files changed, 0 insertions, 0 deletions