diff options
author | Devaev Maxim <[email protected]> | 2021-07-09 19:27:35 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-07-09 19:27:35 +0300 |
commit | 70141f0fbbded557daadf758d9d94589fca9f037 (patch) | |
tree | 5ea584a8c12ee0f0d3b3b20c4416c2855c3ebb57 /hid/patches/arduino-get-plugged-endpoint.patch | |
parent | 63d953d22efb1e9b73fd235b64269b3406569cb8 (diff) |
renamed patches
Diffstat (limited to 'hid/patches/arduino-get-plugged-endpoint.patch')
-rw-r--r-- | hid/patches/arduino-get-plugged-endpoint.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hid/patches/arduino-get-plugged-endpoint.patch b/hid/patches/arduino-get-plugged-endpoint.patch new file mode 100644 index 00000000..c32131ff --- /dev/null +++ b/hid/patches/arduino-get-plugged-endpoint.patch @@ -0,0 +1,11 @@ +--- a/cores/arduino/PluggableUSB.h 2019-05-16 15:52:01.000000000 +0300 ++++ b/cores/arduino/PluggableUSB.h 2020-11-14 20:57:30.942432544 +0300 +@@ -31,6 +31,8 @@ + numEndpoints(numEps), numInterfaces(numIfs), endpointType(epType) + { } + ++ uint8_t getPluggedEndpoint() { return pluggedEndpoint; } ++ + protected: + virtual bool setup(USBSetup& setup) = 0; + virtual int getInterface(uint8_t* interfaceCount) = 0; |