summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/storage.h')
-rw-r--r--stmhal/storage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/stmhal/storage.h b/stmhal/storage.h
index 4d3de77eda..0ecb5715a2 100644
--- a/stmhal/storage.h
+++ b/stmhal/storage.h
@@ -23,6 +23,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+#ifndef MICROPY_INCLUDED_STMHAL_STORAGE_H
+#define MICROPY_INCLUDED_STMHAL_STORAGE_H
#define FLASH_BLOCK_SIZE (512)
@@ -45,3 +47,5 @@ extern const struct _mp_obj_type_t pyb_flash_type;
struct _fs_user_mount_t;
void pyb_flash_init_vfs(struct _fs_user_mount_t *vfs);
+
+#endif // MICROPY_INCLUDED_STMHAL_STORAGE_H