refactoring, fixed read_block -> update_block

This commit is contained in:
Maxim Devaev
2022-07-11 06:10:23 +03:00
parent dc1bc121c8
commit 1973a1e6e0
4 changed files with 16 additions and 16 deletions

View File

@@ -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);