diff options
| author | hathach <[email protected]> | 2019-06-10 18:46:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-06-10 18:46:00 +0700 |
| commit | 7156bfb54d5e9e13c8574b2384a47bd5554798a9 (patch) | |
| tree | 38493c441211bd5e79bc1e468842aab504f95bca /src/device | |
| parent | 15208e710a4122bc11417f5f8980e7a02c1a2a4f (diff) | |
fix build error with midi, use usbd_edpt_xfer/busy for midi to replace dcd_*
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/usbd.c | 1 | ||||
| -rw-r--r-- | src/device/usbd.h | 2 | ||||
| -rw-r--r-- | src/device/usbd_control.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c index 38838b61f..a68953151 100644 --- a/src/device/usbd.c +++ b/src/device/usbd.c @@ -31,6 +31,7 @@ #include "tusb.h"
#include "usbd.h"
#include "device/usbd_pvt.h"
+#include "dcd.h"
#ifndef CFG_TUD_TASK_QUEUE_SZ
#define CFG_TUD_TASK_QUEUE_SZ 16
diff --git a/src/device/usbd.h b/src/device/usbd.h index 4b10f1a0e..47e0e531c 100644 --- a/src/device/usbd.h +++ b/src/device/usbd.h @@ -35,7 +35,7 @@ #endif
#include "common/tusb_common.h"
-#include "device/dcd.h"
+#include "dcd.h"
//--------------------------------------------------------------------+
// Application API
diff --git a/src/device/usbd_control.c b/src/device/usbd_control.c index 1b5ee9f91..49293b832 100644 --- a/src/device/usbd_control.c +++ b/src/device/usbd_control.c @@ -30,6 +30,7 @@ #include "tusb.h"
#include "device/usbd_pvt.h"
+#include "dcd.h"
enum
{
|
