diff options
author | Maxim Devaev <[email protected]> | 2022-07-11 06:10:23 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-07-11 06:10:23 +0300 |
commit | 1973a1e6e0b7962d0c6e9ad54f41d078923e43d3 (patch) | |
tree | 1607e5a9c0d951bd9ff23a88a883f9b86b6ff00f /hid/lib/drivers-avr/factory.cpp | |
parent | dc1bc121c89600e2d5a18458283aa5960aa39e24 (diff) |
refactoring, fixed read_block -> update_block
Diffstat (limited to 'hid/lib/drivers-avr/factory.cpp')
-rw-r--r-- | hid/lib/drivers-avr/factory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hid/lib/drivers-avr/factory.cpp b/hid/lib/drivers-avr/factory.cpp index c6968777..989f4e2b 100644 --- a/hid/lib/drivers-avr/factory.cpp +++ b/hid/lib/drivers-avr/factory.cpp @@ -57,9 +57,9 @@ namespace DRIVERS { return new Mouse(DRIVERS::DUMMY); } } + Storage* Factory::makeStorage(type _type) { - switch (_type) - { + switch (_type) { # ifdef HID_DYNAMIC case NON_VOLATILE_STORAGE: return new Eeprom(DRIVERS::NON_VOLATILE_STORAGE); |