mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 04:41:28 +00:00
Update ENDPOINT_EPNUM_MASK to be 0x0F, the maximum possible USB endpoint number within a device, rather than just the maximum number for the AVR8 and UC3 targets of 0x07.
This commit is contained in:
parent
72717825e5
commit
fe87b8a225
@ -91,7 +91,7 @@
|
|||||||
/** Endpoint number mask, for masking against endpoint addresses to retrieve the endpoint's
|
/** Endpoint number mask, for masking against endpoint addresses to retrieve the endpoint's
|
||||||
* numerical address in the device.
|
* numerical address in the device.
|
||||||
*/
|
*/
|
||||||
#define ENDPOINT_EPNUM_MASK 0x07
|
#define ENDPOINT_EPNUM_MASK 0x0F
|
||||||
|
|
||||||
/** Endpoint address for the default control endpoint, which always resides in address 0. This is
|
/** Endpoint address for the default control endpoint, which always resides in address 0. This is
|
||||||
* defined for convenience to give more readable code when used with the endpoint macros.
|
* defined for convenience to give more readable code when used with the endpoint macros.
|
||||||
|
Loading…
Reference in New Issue
Block a user