mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-30 01:21:54 +08:00
refactoring
This commit is contained in:
@@ -21,16 +21,15 @@
|
||||
|
||||
|
||||
#include "usb/hid.h"
|
||||
#ifdef HID_WITH_PS2
|
||||
#include "ps2/hid.h"
|
||||
#endif
|
||||
#include "factory.h"
|
||||
#include "eeprom.h"
|
||||
|
||||
#ifndef ARDUINO_ARCH_AVR
|
||||
#error "Only AVR is supported"
|
||||
# error "Only AVR is supported"
|
||||
#endif
|
||||
|
||||
|
||||
namespace DRIVERS {
|
||||
Keyboard *Factory::makeKeyboard(type _type) {
|
||||
switch (_type) {
|
||||
|
||||
Reference in New Issue
Block a user