diff options
| author | hathach <[email protected]> | 2018-03-29 13:11:36 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-29 13:11:36 +0700 |
| commit | 1d33d4e07247107af6e8a14467852ed56734924c (patch) | |
| tree | 75e6bc13e0180f51a8a32fe9a113eee9f4a18b50 /tinyusb/tusb.c | |
| parent | c50da4962e47ee9139d66478a8c4809f4761e47b (diff) | |
assert clean up
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 309fcc249..2bbba8471 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_STATUS( usbh_init() ); // host stack init
+ ASSERT_ERR( usbh_init() ); // host stack init
#endif
#if MODE_DEVICE_SUPPORTED
- ASSERT_STATUS ( usbd_init() ); // device stack init
+ ASSERT_ERR ( usbd_init() ); // device stack init
#endif
return TUSB_ERROR_NONE;
|
