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
6
usbhub.h
6
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue