summaryrefslogtreecommitdiff
path: root/tinyusb/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-08 11:42:28 +0700
committerhathach <[email protected]>2018-03-08 11:42:28 +0700
commit817f23e5e0f976814dfa0b5ccfa1f9f5cd1c3885 (patch)
tree80ed4682ad3770c22c4677aae19cc004a8091256 /tinyusb/device
parentd28e7e3966bd4ac471b667c73d2cb1451808e641 (diff)
enhance
- add ASSERT_ - rename edpt_equal -
Diffstat (limited to 'tinyusb/device')
-rw-r--r--tinyusb/device/dcd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/device/dcd.h b/tinyusb/device/dcd.h
index c6691fab1..3cf732d23 100644
--- a/tinyusb/device/dcd.h
+++ b/tinyusb/device/dcd.h
@@ -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);
}