diff options
| author | hathach <[email protected]> | 2018-08-23 20:09:28 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-08-23 20:09:28 +0700 |
| commit | c5d2f661e76adbe2f047c2f3a405ed60262ecb9b (patch) | |
| tree | f0a2f3a6a85773af9e87ad0b71724bf1b3099b86 /src/host/usbh.c | |
| parent | b350d8a0869c13d241ac5e7ae84ab77081bad114 (diff) | |
rename common func to avoid conflict
Diffstat (limited to 'src/host/usbh.c')
| -rw-r--r-- | src/host/usbh.c | 2 |
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;
|
