aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/USBv1/usb_lld.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-12-31 08:30:52 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-12-31 08:30:52 +0000
commit834cea0441464d57125e851d20182f0663392b2d (patch)
tree1e605b0d8e6d15d9f777c97db10742e1af814417 /os/hal/ports/STM32/LLD/USBv1/usb_lld.h
parentac528c28c72ed412c8c9d33dcf0967a723d6aede (diff)
downloadChibiOS-834cea0441464d57125e851d20182f0663392b2d.tar.gz
ChibiOS-834cea0441464d57125e851d20182f0663392b2d.tar.bz2
ChibiOS-834cea0441464d57125e851d20182f0663392b2d.zip
USBv1 code optimization.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8660 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD/USBv1/usb_lld.h')
-rw-r--r--os/hal/ports/STM32/LLD/USBv1/usb_lld.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/LLD/USBv1/usb_lld.h b/os/hal/ports/STM32/LLD/USBv1/usb_lld.h
index 11cd924d0..c74888dac 100644
--- a/os/hal/ports/STM32/LLD/USBv1/usb_lld.h
+++ b/os/hal/ports/STM32/LLD/USBv1/usb_lld.h
@@ -182,6 +182,10 @@ typedef struct {
thread_reference_t thread;
#endif
/* End of the mandatory fields.*/
+ /**
+ * @brief Size of the last transmitted packet.
+ */
+ size_t txlast;
} USBInEndpointState;
/**