diff options
| author | hathach <[email protected]> | 2018-03-08 11:42:28 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-08 11:42:28 +0700 |
| commit | 817f23e5e0f976814dfa0b5ccfa1f9f5cd1c3885 (patch) | |
| tree | 80ed4682ad3770c22c4677aae19cc004a8091256 /tinyusb/device | |
| parent | d28e7e3966bd4ac471b667c73d2cb1451808e641 (diff) | |
enhance
- add ASSERT_
- rename edpt_equal
-
Diffstat (limited to 'tinyusb/device')
| -rw-r--r-- | tinyusb/device/dcd.h | 2 |
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);
}
|
