summaryrefslogtreecommitdiff
path: root/src/device/usbd_pvt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/usbd_pvt.h')
-rw-r--r--src/device/usbd_pvt.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/device/usbd_pvt.h b/src/device/usbd_pvt.h
index bc9a737b2..5f11ea481 100644
--- a/src/device/usbd_pvt.h
+++ b/src/device/usbd_pvt.h
@@ -72,11 +72,7 @@ void usbd_int_set(bool enabled);
void usbd_spin_lock(bool in_isr);
void usbd_spin_unlock(bool in_isr);
-typedef struct {
- TUD_EPBUF_DEF(buf, CFG_TUD_ENDPOINT0_BUFSIZE);
-} usbd_ctrl_epbuf_t;
-
-extern usbd_ctrl_epbuf_t _usbd_ctrl_epbuf;
+uint8_t* usbd_get_ctrl_buf(void);
//--------------------------------------------------------------------+
// USBD Endpoint API