summaryrefslogtreecommitdiff
path: root/tinyusb/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-11 15:20:27 +0700
committerhathach <[email protected]>2018-03-11 15:20:27 +0700
commitcfdc7999f661ecc5d978073f2808d4319ee44426 (patch)
tree495fdb52ed753960ac76b18a4426d9cf2c9e594a /tinyusb/common
parentfd250b92cb62780dee5d99b49bbcbc05080b6987 (diff)
refactor dcd API, drop edpt_hdl_t in favor of endpoint address for easy port
Diffstat (limited to 'tinyusb/common')
-rw-r--r--tinyusb/common/verify.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/common/verify.h b/tinyusb/common/verify.h
index 3aec0a9f8..50915cf9c 100644
--- a/tinyusb/common/verify.h
+++ b/tinyusb/common/verify.h
@@ -155,7 +155,7 @@
#define ASSERT_1ARGS(cond) do { if (!(cond)) { tusb_hal_dbg_breakpoint(); _ASSERT_MESS() return false; } } while(0)
#define ASSERT_2ARGS(cond, _error) do { if (!(cond)) { tusb_hal_dbg_breakpoint(); _ASSERT_MESS() return _error;} } while(0)
-#define ASSERT_(...) GET_3RD_ARG(__VA_ARGS__, ASSERT_2ARGS, ASSERT_1ARGS)(__VA_ARGS__)
+#define TU_ASSERT(...) GET_3RD_ARG(__VA_ARGS__, ASSERT_2ARGS, ASSERT_1ARGS)(__VA_ARGS__)
#ifdef __cplusplus
}