summaryrefslogtreecommitdiff
path: root/shared-module/storage
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-04-10 12:08:41 -0400
committerDan Halbert <halbert@halwitz.org>2018-04-10 12:08:41 -0400
commit5f98953ed89f5e89b92f500788ae4ff0806886c8 (patch)
tree8211442c7e8aef157b6aee1a9aae20d9a09c8783 /shared-module/storage
parent1e9a27177c5d43ffcc3d02c94b0bc12eb4e7ae34 (diff)
esp8266 and nrf: raise NotImplementedError
Diffstat (limited to 'shared-module/storage')
-rw-r--r--shared-module/storage/__init__.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/shared-module/storage/__init__.c b/shared-module/storage/__init__.c
index f1fa74990..dc576ccda 100644
--- a/shared-module/storage/__init__.c
+++ b/shared-module/storage/__init__.c
@@ -127,9 +127,3 @@ void common_hal_storage_umount_path(const char* mount_path) {
mp_obj_t common_hal_storage_getmount(const char *mount_path) {
return storage_object_from_path(mount_path);
}
-
-void common_hal_storage_erase_filesystem(void) {
- filesystem_init(false, true); // Force a re-format.
- common_hal_mcu_reset();
- // We won't actually get here, since we're resetting.
-}