stm32 hid cleanup

This commit is contained in:
Maxim Devaev
2022-07-22 09:14:49 +03:00
parent d3dbf19399
commit 3a9b433000
12 changed files with 206 additions and 720 deletions

View File

@@ -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
}
}
}