From 50b6237e983de3ccc364acf76898100effb1ba0c Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sat, 4 Mar 2023 20:02:28 +0200 Subject: refactoring --- hid/lib/drivers-stm32/factory.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hid/lib/drivers-stm32/factory.cpp') diff --git a/hid/lib/drivers-stm32/factory.cpp b/hid/lib/drivers-stm32/factory.cpp index 010eb507..39ca4dae 100644 --- a/hid/lib/drivers-stm32/factory.cpp +++ b/hid/lib/drivers-stm32/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,7 +75,7 @@ namespace DRIVERS { } } - Board* Factory::makeBoard(type _type) { + Board *Factory::makeBoard(type _type) { switch (_type) { case BOARD: return new BoardStm32(); @@ -84,7 +84,7 @@ namespace DRIVERS { } } - Connection* Factory::makeConnection(type _type) { + Connection *Factory::makeConnection(type _type) { # ifdef CMD_SERIAL return new Serial(); # else -- cgit v1.2.3