rename common func to avoid conflict

This commit is contained in:
hathach
2018-08-23 20:09:28 +07:00
parent b350d8a086
commit c5d2f661e7
22 changed files with 109 additions and 135 deletions

View File

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