summaryrefslogtreecommitdiff
path: root/examples/host/bare_api/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-03-17 20:52:16 +0700
committerhathach <[email protected]>2022-03-17 20:52:16 +0700
commit55428d7dd215eb2e69a1f654ccc4730525b509d6 (patch)
tree20f88df06e2ecedf966806839e1c0f0f266cf8bd /examples/host/bare_api/src
parent102b99a0e8b30a03bae917028fd064ff1480275b (diff)
rename tuh_control_xfer_t to tuh_xfer_t
Diffstat (limited to 'examples/host/bare_api/src')
-rw-r--r--examples/host/bare_api/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/host/bare_api/src/main.c b/examples/host/bare_api/src/main.c
index 3f0b9ef22..feb94a6fe 100644
--- a/examples/host/bare_api/src/main.c
+++ b/examples/host/bare_api/src/main.c
@@ -115,7 +115,7 @@ static void utf16_to_utf8(uint16_t *temp_buf, size_t buf_len) {
((uint8_t*) temp_buf)[utf8_len] = '\0';
}
-void print_device_descriptor(uint8_t daddr, tuh_control_xfer_t* xfer)
+void print_device_descriptor(uint8_t daddr, tuh_xfer_t* xfer)
{
if ( XFER_RESULT_SUCCESS != xfer->result )
{