summaryrefslogtreecommitdiff
path: root/src/portable
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/portable
parentb797d1aa50310a46d430ff0efd66d7e88028de3b (diff)
improve rphort management for usbd
Diffstat (limited to 'src/portable')
-rw-r--r--src/portable/sony/cxd56/dcd_cxd56.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/portable/sony/cxd56/dcd_cxd56.c b/src/portable/sony/cxd56/dcd_cxd56.c
index dfe409383..f2a20accb 100644
--- a/src/portable/sony/cxd56/dcd_cxd56.c
+++ b/src/portable/sony/cxd56/dcd_cxd56.c
@@ -33,12 +33,13 @@
#include <nuttx/arch.h>
#include "device/dcd.h"
+#include "device/usbd_pvt.h"
#define CXD56_EPNUM (7)
#define CXD56_SETUP_QUEUE_DEPTH (4)
#define CXD56_MAX_DATA_OUT_SIZE (64)
-OSAL_QUEUE_DEF(OPT_MODE_DEVICE, _setup_queue_def, CXD56_SETUP_QUEUE_DEPTH, struct usb_ctrlreq_s);
+OSAL_QUEUE_DEF(usbd_int_set, _setup_queue_def, CXD56_SETUP_QUEUE_DEPTH, struct usb_ctrlreq_s);
struct usbdcd_driver_s
{