From 1497001f7a385346ba9e5504a1cc525646a6e222 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Thu, 24 Sep 2020 12:16:30 +0200 Subject: [PATCH] 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 --- src/kaleidoscope/device/virtual/HID.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/kaleidoscope/device/virtual/HID.cpp b/src/kaleidoscope/device/virtual/HID.cpp index c7faea2a..51720732 100644 --- a/src/kaleidoscope/device/virtual/HID.cpp +++ b/src/kaleidoscope/device/virtual/HID.cpp @@ -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;