summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-06-20 12:51:29 +0700
committerhathach <[email protected]>2025-06-20 12:51:29 +0700
commit5c974cee23e9ece208df43b60070740fc2eda0c3 (patch)
tree29faae617d42b64f855bedcf09c8fbf8337365e7 /src/common
parent221b5288e43feff140c695af4481b7815f1b56cd (diff)
usbh make TU_API_SYNC() public, to implement sync() API, change return of sync API from uint8_t to tusb_xfer_result_t
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h
index ff5d8b66a..ec7aad796 100644
--- a/src/common/tusb_types.h
+++ b/src/common/tusb_types.h
@@ -278,6 +278,8 @@ typedef enum {
XFER_RESULT_INVALID
} xfer_result_t;
+#define tusb_xfer_result_t xfer_result_t
+
// TODO remove
enum {
DESC_OFFSET_LEN = 0,