device/virtual: Drop HID_::getShortName()

We do not need `getShortName()` anymore: setting the shortname is now done via
device properties instead. Doing it with `getShortName` only results in
duplicated symbols.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/908/head
Gergely Nagy 4 years ago
parent fff5dce199
commit 1497001f7a
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

@ -44,17 +44,6 @@ int HID_::getDescriptor(USBSetup &setup) {
return 1;
}
uint8_t HID_::getShortName(char *name) {
name[0] = 'v';
name[1] = 'i';
name[2] = 'r';
name[3] = 't';
name[4] = 'u';
name[5] = 'a';
name[6] = 'l';
return 7;
}
void HID_::AppendDescriptor(HIDSubDescriptor *node) {
if (!rootNode) {
rootNode = node;

Loading…
Cancel
Save