aboutsummaryrefslogtreecommitdiffstats
path: root/src/stepper.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-10-02 21:38:58 -0400
committerKevin O'Connor <kevin@koconnor.net>2018-10-02 21:38:58 -0400
commitefd9e7a6dfbeedb4dd913d27c7ed7cc0a83d1a20 (patch)
treeb14e50b83dba3617d9cdf68b6c75af3fa5afbf94 /src/stepper.c
parentfe98dd35852f03162fbfe6a3e29ca7815c4ccf19 (diff)
downloadkutter-efd9e7a6dfbeedb4dd913d27c7ed7cc0a83d1a20.tar.gz
kutter-efd9e7a6dfbeedb4dd913d27c7ed7cc0a83d1a20.tar.xz
kutter-efd9e7a6dfbeedb4dd913d27c7ed7cc0a83d1a20.zip
usb_cdc: Try to read new data before processing data blocks
Call usb_read_bulk_out() before calling command_find_and_dispatch() as this optimizes the common case where each usb packet contains a single new message block. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stepper.c')
0 files changed, 0 insertions, 0 deletions