summaryrefslogtreecommitdiff
path: root/atmel-samd/main.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2016-11-29 14:29:33 -0800
committerScott Shawcroft <scott.shawcroft@gmail.com>2016-11-29 14:29:33 -0800
commit2d9a0c76c527cc46e4038e9f321b3f2da96bbf11 (patch)
tree972c9af616a663a7c5ab1142dd02a6616527fdf1 /atmel-samd/main.c
parent05c14dfe7809d4ac17c1e18b6ade8786212fc79f (diff)
atmel-samd: Switch to MICROPY_PORT_ROOT_POINTERS for the flash cache.
Diffstat (limited to 'atmel-samd/main.c')
-rw-r--r--atmel-samd/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/atmel-samd/main.c b/atmel-samd/main.c
index 8336ec29b..2c782df05 100644
--- a/atmel-samd/main.c
+++ b/atmel-samd/main.c
@@ -25,7 +25,6 @@
#include "mpconfigboard.h"
#include "neopixel_status.h"
#include "tick.h"
-#include FLASH_INCLUDE
fs_user_mount_t fs_user_mount_flash;
@@ -341,7 +340,6 @@ void gc_collect(void) {
// This naively collects all object references from an approximate stack
// range.
gc_collect_root(&dummy, ((mp_uint_t)stack_top - (mp_uint_t)&dummy) / sizeof(mp_uint_t));
- mark_flash_cache_for_gc();
gc_collect_end();
gc_dump_info();
}