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/storage.h | |
parent | dc1bc121c89600e2d5a18458283aa5960aa39e24 (diff) |
refactoring, fixed read_block -> update_block
Diffstat (limited to 'hid/lib/drivers/storage.h')
-rw-r--r-- | hid/lib/drivers/storage.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hid/lib/drivers/storage.h b/hid/lib/drivers/storage.h index 74c4f62a..4f04f3c1 100644 --- a/hid/lib/drivers/storage.h +++ b/hid/lib/drivers/storage.h @@ -19,16 +19,16 @@ # # *****************************************************************************/ + #pragma once #include "driver.h" -namespace DRIVERS { - +namespace DRIVERS { struct Storage : public Driver { using Driver::Driver; - virtual void read_block (void *_dst, const void *_src, size_t _n) {} - virtual void update_block (const void *_src, void *_dst, size_t _n) {} + virtual void readBlock(void *dest, const void *src, size_t size) {} + virtual void updateBlock(const void *src, void *dest, size_t size) {} }; } |