diff options
| author | hathach <[email protected]> | 2018-04-12 17:55:15 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-04-12 17:55:15 +0700 |
| commit | 752a9f45d70959e36cf8c0cf3a5cd0c24731635e (patch) | |
| tree | 518c66e1efc12a0cf74ff256a96ccedecb9ef4ef /tinyusb/device | |
| parent | 6d8f4bca47d31ba4d114aa216042913031c56f1a (diff) | |
rename ASSERT_ERR to TU_ASSERT_ERR to prevent conflict with user code
Diffstat (limited to 'tinyusb/device')
| -rw-r--r-- | tinyusb/device/usbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/device/usbd.c b/tinyusb/device/usbd.c index 4a13f471a..cb2b1916a 100644 --- a/tinyusb/device/usbd.c +++ b/tinyusb/device/usbd.c @@ -435,7 +435,7 @@ static tusb_error_t proc_set_config_req(uint8_t rhport, uint8_t config_number) usbd_devices[rhport].interface2class[p_desc_interface->bInterfaceNumber] = class_index;
uint16_t length=0;
- ASSERT_ERR( usbd_class_drivers[class_index].open( rhport, p_desc_interface, &length ) );
+ TU_ASSERT_ERR( usbd_class_drivers[class_index].open( rhport, p_desc_interface, &length ) );
TU_ASSERT( length >= sizeof(tusb_desc_interface_t), TUSB_ERROR_FAILED );
p_desc += length;
|
