diff options
author | Maxim Devaev <[email protected]> | 2023-03-04 20:02:28 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-03-04 20:02:28 +0200 |
commit | 50b6237e983de3ccc364acf76898100effb1ba0c (patch) | |
tree | 3b6b2817288c020aa6f7f6475f56462b8017137e /hid/lib/drivers-avr/factory.cpp | |
parent | 79e1b457b7fff18577745cfbb0b96d03c60281eb (diff) |
refactoring
Diffstat (limited to 'hid/lib/drivers-avr/factory.cpp')
-rw-r--r-- | hid/lib/drivers-avr/factory.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hid/lib/drivers-avr/factory.cpp b/hid/lib/drivers-avr/factory.cpp index 3fc02582..8caf90fe 100644 --- a/hid/lib/drivers-avr/factory.cpp +++ b/hid/lib/drivers-avr/factory.cpp @@ -64,7 +64,7 @@ namespace DRIVERS { } } - Storage* Factory::makeStorage(type _type) { + Storage *Factory::makeStorage(type _type) { switch (_type) { # ifdef HID_DYNAMIC case NON_VOLATILE_STORAGE: @@ -75,14 +75,14 @@ namespace DRIVERS { } } - Board* Factory::makeBoard(type _type) { + Board *Factory::makeBoard(type _type) { switch (_type) { default: return new Board(DRIVERS::DUMMY); } } - Connection* Factory::makeConnection(type _type) { + Connection *Factory::makeConnection(type _type) { # ifdef CMD_SERIAL return new Serial(); # elif defined(CMD_SPI) |