- add ASSERT_
- rename edpt_equal
-
This commit is contained in:
hathach
2018-03-08 11:42:28 +07:00
parent d28e7e3966
commit 817f23e5e0
7 changed files with 36 additions and 5 deletions

View File

@@ -63,7 +63,7 @@ typedef struct {
uint8_t index; // must be zero to indicate control
} endpoint_handle_t;
static inline bool endpointhandle_is_equal(endpoint_handle_t x, endpoint_handle_t y)
static inline bool edpt_equal(endpoint_handle_t x, endpoint_handle_t y)
{
return (x.coreid == y.coreid) && (x.index == y.index);
}