mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 02:21:53 +08:00
refactoring, fixed read_block -> update_block
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user