summaryrefslogtreecommitdiff
path: root/hid/lib/drivers-avr/factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hid/lib/drivers-avr/factory.cpp')
-rw-r--r--hid/lib/drivers-avr/factory.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/hid/lib/drivers-avr/factory.cpp b/hid/lib/drivers-avr/factory.cpp
index 35100431..a4934673 100644
--- a/hid/lib/drivers-avr/factory.cpp
+++ b/hid/lib/drivers-avr/factory.cpp
@@ -73,4 +73,11 @@ namespace DRIVERS {
}
}
+ Board* Factory::makeBoard(type _type) {
+ switch (_type) {
+ default:
+ return new Board(DRIVERS::DUMMY);
+ }
+ }
+
}