projects
/
gps-watch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common: Add beginnings of tests for the fmt module.
[gps-watch.git]
/
src
/
common
/
storage.rs
diff --git
a/src/common/storage.rs
b/src/common/storage.rs
index ebebe798f8bb31eb2378c9e6081066352b4716e3..36d77e3faad15ad8e6b2ef6405e44c8e9e0ba4e9 100644
(file)
--- a/
src/common/storage.rs
+++ b/
src/common/storage.rs
@@
-32,5
+32,7
@@
pub trait Storage {
fn write(&mut self, address: usize, buffer: &[u8; 4096]) -> Result<(), Error>;
+ fn erase(&mut self, address: usize) -> Result<(), Error>;
+
fn clear(&mut self);
}