diff options
| author | hathach <[email protected]> | 2019-06-10 18:50:59 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-06-10 18:50:59 +0700 |
| commit | 393492823ce037a2e46d367d61fad1235859af2e (patch) | |
| tree | 7bc829e94b0a542e6990566e71ec293a600d3553 /src/device/usbd.h | |
| parent | 69e98215ea94bf5d6a8adc042732fe2a67df9764 (diff) | |
| parent | 7156bfb54d5e9e13c8574b2384a47bd5554798a9 (diff) | |
Merge pull request #80 from hathach/develop
added usbd_edpt_xfer/usbd_edpt_busy to replace dcd_edpt_transfer/dcd_edpt_busy()
Diffstat (limited to 'src/device/usbd.h')
| -rw-r--r-- | src/device/usbd.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h index 46143a215..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
@@ -76,17 +76,17 @@ uint8_t const * tud_descriptor_configuration_cb(uint8_t index); uint16_t const* tud_descriptor_string_cb(uint8_t index);
// Invoked when device is mounted (configured)
-ATTR_WEAK void tud_mount_cb(void);
+TU_ATTR_WEAK void tud_mount_cb(void);
// Invoked when device is unmounted
-ATTR_WEAK void tud_umount_cb(void);
+TU_ATTR_WEAK void tud_umount_cb(void);
// Invoked when usb bus is suspended
// Within 7ms, device must draw an average of current less than 2.5 mA from bus
-ATTR_WEAK void tud_suspend_cb(bool remote_wakeup_en);
+TU_ATTR_WEAK void tud_suspend_cb(bool remote_wakeup_en);
// Invoked when usb bus is resumed
-ATTR_WEAK void tud_resume_cb(void);
+TU_ATTR_WEAK void tud_resume_cb(void);
//--------------------------------------------------------------------+
// Interface Descriptor Template
|
