diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2020-07-16 19:01:43 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2020-07-17 17:15:03 -0700 |
| commit | a1e4814a27713bd08b836cbae2afa9c858bfd4e4 (patch) | |
| tree | a68e5fe0195dc0296cf70ee94eaa124c64409473 /main.c | |
| parent | 518d909b2c20aed5b3ff1ca849731cdadea4ba4c (diff) | |
Get AllocationAlarm working
Diffstat (limited to 'main.c')
| -rwxr-xr-x | main.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -64,6 +64,10 @@ #include "shared-module/displayio/__init__.h" #endif +#if CIRCUITPY_MEMORYMONITOR +#include "shared-module/memorymonitor/__init__.h" +#endif + #if CIRCUITPY_NETWORK #include "shared-module/network/__init__.h" #endif @@ -198,6 +202,9 @@ void cleanup_after_vm(supervisor_allocation* heap) { #if CIRCUITPY_DISPLAYIO reset_displays(); #endif + #if CIRCUITPY_MEMORYMONITOR + memorymonitor_reset(); + #endif filesystem_flush(); stop_mp(); free_memory(heap); |
