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/common | |
| parent | c50da4962e47ee9139d66478a8c4809f4761e47b (diff) | |
assert clean up
Diffstat (limited to 'tinyusb/common')
| -rw-r--r-- | tinyusb/common/assertion.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tinyusb/common/assertion.h b/tinyusb/common/assertion.h index 8a132d5b1..6689d66e8 100644 --- a/tinyusb/common/assertion.h +++ b/tinyusb/common/assertion.h @@ -81,10 +81,6 @@ extern "C" //--------------------------------------------------------------------+
// tusb_error_t Status Assert TODO use ASSERT_DEFINE
//--------------------------------------------------------------------+
-#define ASSERT_STATUS_MESSAGE(sts, message) \
- ASSERT_DEFINE(tusb_error_t status = (tusb_error_t)(sts),\
- 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_strerr[status])
|
