diff options
| author | Damien | 2013-12-11 00:38:40 +0000 |
|---|---|---|
| committer | Damien | 2013-12-11 00:38:40 +0000 |
| commit | ec643130d0c49ee4b510f9a909da75d9fdb5454b (patch) | |
| tree | 2cce84a3578b5bbafe8394e4490147fa2075598c /stm/storage.h | |
| parent | 318aec6ba984e6c559401fd99fef4f1a9c327417 (diff) | |
stm: add timer to storage cache so it can be flushed.
Diffstat (limited to 'stm/storage.h')
| -rw-r--r-- | stm/storage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stm/storage.h b/stm/storage.h index 8a8459c9e..fe37e8b27 100644 --- a/stm/storage.h +++ b/stm/storage.h @@ -1,6 +1,7 @@ void storage_init(void); uint32_t storage_get_block_size(void); uint32_t storage_get_block_count(void); +bool storage_needs_flush(void); void storage_flush(void); bool storage_read_block(uint8_t *dest, uint32_t block); bool storage_write_block(const uint8_t *src, uint32_t block); |
