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_ {
public:
PluggableUSB_() {}
bool plug(PluggableUSBModule *node) {
return true;
}
int getInterface(uint8_t *interfaceCount) {
return 1;
}
int getDescriptor(USBSetup &setup) {
return 1;
}
bool setup(USBSetup &setup) {
return true;
}
void getShortName(char *iSerialNum) {}
private:
uint8_t lastIf;
uint8_t lastEp;
PluggableUSBModule *rootNode;
public:
PluggableUSB_() {}
bool plug(PluggableUSBModule *node) {
return true;
}
int getInterface(uint8_t *interfaceCount) {
return 1;
}
int getDescriptor(USBSetup &setup) {
return 1;
}
bool setup(USBSetup &setup) {
return true;
}
void getShortName(char *iSerialNum) {}
};
// Replacement for global singleton.