From 3058d4689208a85fe7e56c126424027ebc61da30 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 12 Feb 2019 14:38:30 +1100 Subject: [PATCH] stm32/gccollect: Use gchelper.h header instead of explicit declaration. --- ports/stm32/gccollect.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ports/stm32/gccollect.c b/ports/stm32/gccollect.c index 50880e2891..d92fc5cef0 100644 --- a/ports/stm32/gccollect.c +++ b/ports/stm32/gccollect.c @@ -30,11 +30,10 @@ #include "py/obj.h" #include "py/gc.h" #include "py/mpthread.h" +#include "lib/utils/gchelper.h" #include "gccollect.h" #include "systick.h" -uintptr_t gc_helper_get_regs_and_sp(uintptr_t *regs); - void gc_collect(void) { // get current time, in case we want to time the GC #if 0