diff options
author | tomaszduda23 <[email protected]> | 2022-09-12 11:53:52 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-09-12 12:53:52 +0300 |
commit | 615863a84846a5a26e5505bdd5e0d63d3baee6e0 (patch) | |
tree | 7d3c8e672dd4356d5b6e3c480c77d284e2845ba7 /hid/lib/drivers-avr | |
parent | ce43938d2810fb0bf5d9c89116cf5fc2d02ca40c (diff) |
add SW reset (#107)
Diffstat (limited to 'hid/lib/drivers-avr')
-rw-r--r-- | hid/lib/drivers-avr/factory.cpp | 7 |
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); + } + } + } |