summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2020-12-22 10:06:43 -0500
committerScott Shawcroft <scott@tannewt.org>2020-12-22 08:11:01 -0800
commitd4e9eea397c887d9eceb5f4c6aba117a4dc3d03b (patch)
tree5a3d07f361df6fea8bdcd9cffac444c5eb871d75 /main.c
parent0dcc659d536034637009e3c5cb7713c35c002929 (diff)
mark alarm.wake_alarm during gc sweep
Diffstat (limited to 'main.c')
-rwxr-xr-xmain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.c b/main.c
index d940f93d1..27ed6ff11 100755
--- a/main.c
+++ b/main.c
@@ -613,6 +613,10 @@ void gc_collect(void) {
background_callback_gc_collect();
+ #if CIRCUITPY_ALARM
+ common_hal_alarm_gc_collect();
+ #endif
+
#if CIRCUITPY_DISPLAYIO
displayio_gc_collect();
#endif