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:
parent
e66dd18abc
commit
fd1e397a3e
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user