common: Implement Storage::clear() in Mx25l.
[gps-watch.git] / src / common / mx25l.rs
index 388d31172497b858c86c2ac36731156d1d16e2ed..ea2b8c1667372fe290f8c041d27566dfc9249d58 100644 (file)
@@ -191,4 +191,8 @@ impl Storage for Mx25l {
 
         Ok(())
     }
+
+    fn clear(&mut self) {
+        self.erase_all();
+    }
 }