Skip to content

Commit 2a1a65b

Browse files
committed
[PUSB] Removed unnecessary endpoint and interface function
1 parent 1eb21fe commit 2a1a65b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

hardware/arduino/avr/cores/arduino/PluggableUSB.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ class PUSBListNode {
3131
numEndpoints(numEps), numInterfaces(numIfs), endpointType(epType)
3232
{ }
3333

34-
inline uint8_t interface() const { return pluggedInterface; }
35-
inline uint8_t endpoint() const { return pluggedEndpoint; }
36-
3734
protected:
3835
virtual bool setup(USBSetup& setup) = 0;
3936
virtual int getInterface(uint8_t* interfaceCount) = 0;

0 commit comments

Comments
 (0)