summaryrefslogtreecommitdiff
path: root/examples/host/bare_api/src
diff options
context:
space:
mode:
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 2fe5999bc..5f8f886c8 100644
--- a/examples/host/bare_api/src/main.c
+++ b/examples/host/bare_api/src/main.c
@@ -108,7 +108,7 @@ void tuh_mount_cb (uint8_t daddr)
printf("Device attached, address = %d\r\n", daddr);
// get device descriptor
- tuh_descriptor_device_get(daddr, &desc_device, 18, print_device_descriptor);
+ tuh_descriptor_get_device(daddr, &desc_device, 18, print_device_descriptor);
}
/// Invoked when device is unmounted (bus reset/unplugged)