aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/FreeRTOS/utility/mpu_wrappers.h
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 /libraries/FreeRTOS/utility/mpu_wrappers.h
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 'libraries/FreeRTOS/utility/mpu_wrappers.h')
0 files changed, 0 insertions, 0 deletions