rename host descriptor function

This commit is contained in:
hathach
2022-03-09 11:21:13 +07:00
parent db9d97c947
commit f920e1c171
4 changed files with 23 additions and 23 deletions

View File

@@ -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)