diff --git a/usbhub.h b/usbhub.h index 7c197dec..e938e2dc 100644 --- a/usbhub.h +++ b/usbhub.h @@ -201,7 +201,11 @@ public: return bAddress; }; - virtual bool DEVCLASSOK(uint8_t klass) { + virtual uint8_t GetPortAddress() { + return bPortAddress; + }; + + virtual bool DEVCLASSOK(uint8_t klass) { return (klass == 0x09); }