diff options
| author | hathach <[email protected]> | 2018-03-28 13:41:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-28 13:41:00 +0700 |
| commit | 111065c0425330fba94d3beded9275fb0a894d78 (patch) | |
| tree | d1bc1a4c9559b964c50ff883cffd1d67308a0ffc /tinyusb/common/assertion.h | |
| parent | 604275341ecbb830e852a3522d7957ad66828dee (diff) | |
more error string clean up
Diffstat (limited to 'tinyusb/common/assertion.h')
| -rw-r--r-- | tinyusb/common/assertion.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/common/assertion.h b/tinyusb/common/assertion.h index edc1a2c45..a3218b5f1 100644 --- a/tinyusb/common/assertion.h +++ b/tinyusb/common/assertion.h @@ -97,11 +97,11 @@ extern "C" //--------------------------------------------------------------------+
#define ASSERT_STATUS_MESSAGE(sts, message) \
ASSERT_DEFINE(tusb_error_t status = (tusb_error_t)(sts),\
- TUSB_ERROR_NONE == status, status, "%s: %s", TUSB_ErrorStr[status], message)
+ TUSB_ERROR_NONE == status, status, "%s: %s", tusb_strerr[status], message)
#define ASSERT_STATUS(sts) \
ASSERT_DEFINE(tusb_error_t status = (tusb_error_t)(sts),\
- TUSB_ERROR_NONE == status, status, "%s", TUSB_ErrorStr[status])
+ TUSB_ERROR_NONE == status, status, "%s", tusb_strerr[status])
//--------------------------------------------------------------------+
// Logical Assert
|
