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/tusb.c | |
| parent | 6d8f4bca47d31ba4d114aa216042913031c56f1a (diff) | |
rename ASSERT_ERR to TU_ASSERT_ERR to prevent conflict with user code
Diffstat (limited to 'tinyusb/tusb.c')
| -rw-r--r-- | tinyusb/tusb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/tusb.c b/tinyusb/tusb.c index b739ebe2e..dd3be72e4 100644 --- a/tinyusb/tusb.c +++ b/tinyusb/tusb.c @@ -46,11 +46,11 @@ tusb_error_t tusb_init(void) VERIFY( tusb_hal_init(), TUSB_ERROR_FAILED ) ; // hardware init
#if MODE_HOST_SUPPORTED
- ASSERT_ERR( usbh_init() ); // host stack init
+ TU_ASSERT_ERR( usbh_init() ); // host stack init
#endif
#if MODE_DEVICE_SUPPORTED
- ASSERT_ERR ( usbd_init() ); // device stack init
+ TU_ASSERT_ERR ( usbd_init() ); // device stack init
#endif
return TUSB_ERROR_NONE;
|
