mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
add forgotten function
This commit is contained in:
parent
ea63a6b537
commit
fa83634901
1 changed files with 5 additions and 1 deletions
4
usbhub.h
4
usbhub.h
|
@ -201,6 +201,10 @@ public:
|
|||
return bAddress;
|
||||
};
|
||||
|
||||
virtual uint8_t GetPortAddress() {
|
||||
return bPortAddress;
|
||||
};
|
||||
|
||||
virtual bool DEVCLASSOK(uint8_t klass) {
|
||||
return (klass == 0x09);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue