summaryrefslogtreecommitdiff
path: root/hid/lib/drivers-stm32/factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hid/lib/drivers-stm32/factory.cpp')
-rw-r--r--hid/lib/drivers-stm32/factory.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/hid/lib/drivers-stm32/factory.cpp b/hid/lib/drivers-stm32/factory.cpp
index 4cf96f03..e41da67d 100644
--- a/hid/lib/drivers-stm32/factory.cpp
+++ b/hid/lib/drivers-stm32/factory.cpp
@@ -19,6 +19,7 @@
# #
*****************************************************************************/
+
#include "factory.h"
#include "usb/keyboard-stm32.h"
#include "usb/hid-wrapper-stm32.h"
@@ -33,14 +34,9 @@
# error "Disable random USB enumeration"
#endif
-namespace DRIVERS
-{
-#if 0
- USBCompositeSerial _serial;
- HidWrapper _hidWrapper(&_serial);
-#else
+
+namespace DRIVERS {
HidWrapper _hidWrapper;
-#endif
Keyboard *Factory::makeKeyboard(type _type) {
switch (_type) {
@@ -77,5 +73,3 @@ namespace DRIVERS
}
}
}
-
-