summaryrefslogtreecommitdiff
path: root/tinyusb/device/usbd_pvt.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-28 13:54:28 +0700
committerhathach <[email protected]>2018-03-28 13:54:28 +0700
commit47c125d0257fb8f053870b33bded1f422ff81847 (patch)
tree58a235b28e0926cf90d4bccdb22c4a0d83bdfdcc /tinyusb/device/usbd_pvt.h
parent4deb4da6cba0a5d9415279e63d9427e992c75028 (diff)
more dcd clean up
Diffstat (limited to 'tinyusb/device/usbd_pvt.h')
-rw-r--r--tinyusb/device/usbd_pvt.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/tinyusb/device/usbd_pvt.h b/tinyusb/device/usbd_pvt.h
index 073ce681b..6b4535eda 100644
--- a/tinyusb/device/usbd_pvt.h
+++ b/tinyusb/device/usbd_pvt.h
@@ -52,18 +52,7 @@ void usbd_task( void* param);
// Carry out Data and Status stage of control transfer
tusb_error_t usbd_control_xfer_st(uint8_t rhport, tusb_dir_t dir, uint8_t * buffer, uint16_t length);
-// Return Status of control transfer
-// Note dir is value of direction bit in setup packet (aka DATA stage direction)
-static inline bool usbd_control_status(uint8_t rhport, tusb_dir_t dir)
-{
- // status direction is reversed to one in the setup packet
- return dcd_control_xfer(rhport, 1-dir, NULL, 0);
-}
-static inline void usbd_control_stall(uint8_t rhport)
-{
- dcd_edpt_stall(rhport, 0);
-}
#ifdef __cplusplus