aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/usart_private.c
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-08-04 00:33:32 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-08-04 00:33:32 -0400
commit4e20db54c8134c5f967f5ca4d9efe0577b920041 (patch)
tree9397c300956a4f7945822241a4d70577c1837b9a /libmaple/usart_private.c
parent23918555b0eb87922b813590b8f8773acf834caf (diff)
downloadlibrambutan-4e20db54c8134c5f967f5ca4d9efe0577b920041.tar.gz
librambutan-4e20db54c8134c5f967f5ca4d9efe0577b920041.zip
usb_cdcacm: Set endpoint to NAK before checking byte count.
Fixes an (admittedly very unlikely) race condition. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/usart_private.c')
0 files changed, 0 insertions, 0 deletions