aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32/LLD/OTGv1/usb_lld.h')
-rw-r--r--os/hal/ports/STM32/LLD/OTGv1/usb_lld.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h b/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h
index 334c1e1df..1b6bf6480 100644
--- a/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h
+++ b/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h
@@ -260,10 +260,14 @@ typedef struct {
* @brief Pointer to the input queue.
*/
input_queue_t *rxqueue;
- } queue;
- } mode;
-} USBOutEndpointState;
-
+ } queue;
+ } mode;
+ /**
+ * @brief Total transmit transfer size.
+ */
+ size_t totsize;
+} USBOutEndpointState;
+
/**
* @brief Type of an USB endpoint configuration structure.
* @note Platform specific restrictions may apply to endpoints.