From 790c38e18c2b6417a05155ed7697a5bf29f1d31e Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Fri, 12 May 2017 18:26:14 -0700 Subject: atmel-samd: Rework boot, main and REPL order. Boot will only run once now before USB is started. Its output goes to boot_out.txt. After main and REPL will run with VM and hardware resets between each. --- extmod/fsusermount.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'extmod') diff --git a/extmod/fsusermount.h b/extmod/fsusermount.h index efc68a05d..abfd2d4e3 100644 --- a/extmod/fsusermount.h +++ b/extmod/fsusermount.h @@ -24,6 +24,10 @@ * THE SOFTWARE. */ + +#ifndef __MICROPY_INCLUDED_EXTMOD_FSUSERMOUNT_H__ +#define __MICROPY_INCLUDED_EXTMOD_FSUSERMOUNT_H__ + #include "lib/fatfs/ff.h" #include "py/obj.h" @@ -65,3 +69,5 @@ mp_obj_t fatfs_umount(mp_obj_t bdev_or_path_in); MP_DECLARE_CONST_FUN_OBJ_KW(fsuser_mount_obj); MP_DECLARE_CONST_FUN_OBJ_1(fsuser_umount_obj); MP_DECLARE_CONST_FUN_OBJ_KW(fsuser_mkfs_obj); + +#endif // __MICROPY_INCLUDED_EXTMOD_FSUSERMOUNT_H__ -- cgit v1.2.3