aboutsummaryrefslogtreecommitdiffstats
path: root/support/make/build-templates.mk
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2013-01-17 18:08:39 -0500
committerMarti Bolivar <mbolivar@leaflabs.com>2013-01-17 18:08:39 -0500
commitafb4199070e464c317b86741e107692120e05097 (patch)
treec57eda4542c0bb85f9354e877c0f159dd34fce6f /support/make/build-templates.mk
parent419a6796c2d444762e2ae5b7ae8b846690add839 (diff)
downloadlibrambutan-afb4199070e464c317b86741e107692120e05097.tar.gz
librambutan-afb4199070e464c317b86741e107692120e05097.zip
usb_cdcacm.c: Fixups for usb_cdcacm_tx().
- Check if we're transmitting (instead of how many bytes are left untransmitted) before bailing, in case we're transmitting a zero-length packet. - Set transmitting=1 before setting the endpoint valid to avoid races with the USB interrupt. - Eliminate some duplicated code. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'support/make/build-templates.mk')
0 files changed, 0 insertions, 0 deletions