summaryrefslogtreecommitdiff
path: root/src/device/usbd_pvt.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-02-23 18:42:32 +0700
committerhathach <[email protected]>2022-02-25 18:35:21 +0700
commit4a5a53b3b88fcd2f5ec7f1f94eb07c27cb1e9bec (patch)
tree3f005e9cb4adcf39b8c67860890987f96b650212 /src/device/usbd_pvt.h
parentb797d1aa50310a46d430ff0efd66d7e88028de3b (diff)
improve rphort management for usbd
Diffstat (limited to 'src/device/usbd_pvt.h')
-rw-r--r--src/device/usbd_pvt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/device/usbd_pvt.h b/src/device/usbd_pvt.h
index 7607b9895..dae95cebb 100644
--- a/src/device/usbd_pvt.h
+++ b/src/device/usbd_pvt.h
@@ -58,6 +58,8 @@ usbd_class_driver_t const* usbd_app_driver_get_cb(uint8_t* driver_count) TU_ATTR
typedef bool (*usbd_control_xfer_cb_t)(uint8_t rhport, uint8_t stage, tusb_control_request_t const * request);
+void usbd_int_set(bool enabled);
+
//--------------------------------------------------------------------+
// USBD Endpoint API
//--------------------------------------------------------------------+