diff options
| author | hathach <[email protected]> | 2022-06-02 16:51:17 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-06-02 16:51:17 +0700 |
| commit | 8b9cf152a0dedda573fb3374d8c873dce4b883d1 (patch) | |
| tree | 1e6236685627b6fdd960e70da54e89aa37fe9fb1 /src/device/usbd_pvt.h | |
| parent | 99c1585ed215cb5ee2e27a41c54310d144e0ee6c (diff) | |
rhport argument in usbd_ API() is not used (always use the initialized port)
remove the usage of TUD_OPT_RHPORT in class driver
Diffstat (limited to 'src/device/usbd_pvt.h')
| -rw-r--r-- | src/device/usbd_pvt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device/usbd_pvt.h b/src/device/usbd_pvt.h index 603ffc936..17ebbfcd4 100644 --- a/src/device/usbd_pvt.h +++ b/src/device/usbd_pvt.h @@ -62,6 +62,7 @@ void usbd_int_set(bool enabled); //--------------------------------------------------------------------+ // USBD Endpoint API +// Note: rhport should be 0 since device stack only support 1 rhport for now //--------------------------------------------------------------------+ // Open an endpoint |
