summaryrefslogtreecommitdiff
path: root/extmod
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2017-05-12 18:26:14 -0700
committerScott Shawcroft <scott.shawcroft@gmail.com>2017-05-12 18:26:14 -0700
commit790c38e18c2b6417a05155ed7697a5bf29f1d31e (patch)
treef728f26f25e4687c6881252b1aee22025cb27f1d /extmod
parent7672bf773637b008f4e5a334bcbd0a91c5ac95b2 (diff)
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.
Diffstat (limited to 'extmod')
-rw-r--r--extmod/fsusermount.h6
1 files changed, 6 insertions, 0 deletions
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__