summaryrefslogtreecommitdiff
path: root/shared-bindings/storage
diff options
context:
space:
mode:
authorKevin Matocha <kmatocha@icloud.com>2021-03-17 09:30:51 -0500
committerKevin Matocha <kmatocha@icloud.com>2021-03-17 09:30:51 -0500
commitef91e1752c233e45bfa898eb67caab44f1b02313 (patch)
tree9b6f26eb1bd0d54143b4d174cec720dcaca8065e /shared-bindings/storage
parent870dadc85adce4f10fa57dda1d11dda48b25dbc1 (diff)
parentbfc8c89536e12dba0cc9adc0065819d730bb0983 (diff)
merge upstream/main
Diffstat (limited to 'shared-bindings/storage')
-rw-r--r--shared-bindings/storage/__init__.c2
-rw-r--r--shared-bindings/storage/__init__.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/shared-bindings/storage/__init__.c b/shared-bindings/storage/__init__.c
index cafaf5986..7b436a4df 100644
--- a/shared-bindings/storage/__init__.c
+++ b/shared-bindings/storage/__init__.c
@@ -223,5 +223,5 @@ STATIC MP_DEFINE_CONST_DICT(storage_module_globals, storage_module_globals_table
const mp_obj_module_t storage_module = {
.base = { &mp_type_module },
- .globals = (mp_obj_dict_t*)&storage_module_globals,
+ .globals = (mp_obj_dict_t *)&storage_module_globals,
};
diff --git a/shared-bindings/storage/__init__.h b/shared-bindings/storage/__init__.h
index 7851b9e29..eeb0d3a73 100644
--- a/shared-bindings/storage/__init__.h
+++ b/shared-bindings/storage/__init__.h
@@ -30,11 +30,11 @@
#include <stdint.h>
#include <stdbool.h>
-void common_hal_storage_mount(mp_obj_t vfs_obj, const char* path, bool readonly);
-void common_hal_storage_umount_path(const char* path);
+void common_hal_storage_mount(mp_obj_t vfs_obj, const char *path, bool readonly);
+void common_hal_storage_umount_path(const char *path);
void common_hal_storage_umount_object(mp_obj_t vfs_obj);
-void common_hal_storage_remount(const char* path, bool readonly, bool disable_concurrent_write_protection);
-mp_obj_t common_hal_storage_getmount(const char* path);
+void common_hal_storage_remount(const char *path, bool readonly, bool disable_concurrent_write_protection);
+mp_obj_t common_hal_storage_getmount(const char *path);
void common_hal_storage_erase_filesystem(void);
#endif // MICROPY_INCLUDED_SHARED_BINDINGS_STORAGE___INIT___H