You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
304 B
19 lines
304 B
|
|
#include <string.h> |
|
#include "Storage.h" |
|
|
|
using namespace Empty; |
|
|
|
EmptyStorage::EmptyStorage() |
|
{} |
|
|
|
void EmptyStorage::init(void*) |
|
{} |
|
|
|
void EmptyStorage::read_block(void* dst, uint16_t src, size_t n) { |
|
memset(dst, 0, n); |
|
} |
|
|
|
void EmptyStorage::write_block(uint16_t loc, const void* src, size_t n) |
|
{} |
|
|
|
|