summaryrefslogtreecommitdiff
path: root/src/host/usbh.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-08-23 20:09:28 +0700
committerhathach <[email protected]>2018-08-23 20:09:28 +0700
commitc5d2f661e76adbe2f047c2f3a405ed60262ecb9b (patch)
treef0a2f3a6a85773af9e87ad0b71724bf1b3099b86 /src/host/usbh.c
parentb350d8a0869c13d241ac5e7ae84ab77081bad114 (diff)
rename common func to avoid conflict
Diffstat (limited to 'src/host/usbh.c')
-rw-r--r--src/host/usbh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c
index 6d1cd37ad..8b858b2de 100644
--- a/src/host/usbh.c
+++ b/src/host/usbh.c
@@ -643,7 +643,7 @@ static inline uint8_t get_configure_number_for_device(tusb_desc_device_t* dev_de
// invoke callback to ask user which configuration to select
if (tuh_device_attached_cb)
{
- config_num = min8_of(1, tuh_device_attached_cb(dev_desc) );
+ config_num = tu_min8(1, tuh_device_attached_cb(dev_desc) );
}
return config_num;