From 615863a84846a5a26e5505bdd5e0d63d3baee6e0 Mon Sep 17 00:00:00 2001 From: tomaszduda23 Date: Mon, 12 Sep 2022 11:53:52 +0200 Subject: add SW reset (#107) --- hid/lib/drivers-avr/factory.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'hid/lib/drivers-avr') 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); + } + } + } -- cgit v1.2.3