1
0

Removed inaccessible members

Those members cause compiler warnings when using recent
compilers. The members are unused and can be safely removed as
they are inaccessible to derived classes.

Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
This commit is contained in:
Florian Fleissner 2019-12-05 17:00:37 +01:00 committed by Jesse Vincent
parent e66dd18abc
commit fd1e397a3e
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

View File

@ -63,26 +63,21 @@ class PluggableUSBModule {
}; };
class PluggableUSB_ { class PluggableUSB_ {
public: public:
PluggableUSB_() {} PluggableUSB_() {}
bool plug(PluggableUSBModule *node) { bool plug(PluggableUSBModule *node) {
return true; return true;
} }
int getInterface(uint8_t *interfaceCount) { int getInterface(uint8_t *interfaceCount) {
return 1; return 1;
} }
int getDescriptor(USBSetup &setup) { int getDescriptor(USBSetup &setup) {
return 1; return 1;
} }
bool setup(USBSetup &setup) { bool setup(USBSetup &setup) {
return true; return true;
} }
void getShortName(char *iSerialNum) {} void getShortName(char *iSerialNum) {}
private:
uint8_t lastIf;
uint8_t lastEp;
PluggableUSBModule *rootNode;
}; };
// Replacement for global singleton. // Replacement for global singleton.