parent
c314417277
commit
ae1b8d342e
|
|
@ -27,7 +27,7 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static constexpr const uint8_t MemoryTypeSD = 0x01; // Logical Disk
|
static constexpr const uint8_t MemoryTypeSD = 0x01; // Logical Disk
|
||||||
static constexpr const std::chrono::duration CacheTime = std::chrono::seconds(1);
|
static constexpr const std::chrono::seconds CacheTime = std::chrono::seconds(1);
|
||||||
|
|
||||||
std::array<uint8_t, SectorSize> cache;
|
std::array<uint8_t, SectorSize> cache;
|
||||||
uint64_t cachePos = 0;
|
uint64_t cachePos = 0;
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static constexpr const uint32_t MaxSize = 65024;
|
static constexpr const uint32_t MaxSize = 65024;
|
||||||
static constexpr const std::chrono::duration CacheTime = std::chrono::seconds(1);
|
static constexpr const std::chrono::seconds CacheTime = std::chrono::seconds(1);
|
||||||
|
|
||||||
std::array<uint8_t, MaxSize> cache;
|
std::array<uint8_t, MaxSize> cache;
|
||||||
uint64_t cachePos = 0;
|
uint64_t cachePos = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue