summaryrefslogtreecommitdiff
path: root/supervisor/shared/memory.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2019-01-25 16:59:18 -0800
committerScott Shawcroft <scott@tannewt.org>2019-01-31 11:42:14 -0800
commit1a1dbef992442682413f6103e36440a26bc2dad7 (patch)
treebeb902633b3019bba71578831523618c4b5b7dba /supervisor/shared/memory.c
parent590e0291989c8df150b9b8aff960049903b56ac2 (diff)
Hook up the terminal based on the first display.
Diffstat (limited to 'supervisor/shared/memory.c')
-rwxr-xr-xsupervisor/shared/memory.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/supervisor/shared/memory.c b/supervisor/shared/memory.c
index 6c8be3be8..11133415d 100755
--- a/supervisor/shared/memory.c
+++ b/supervisor/shared/memory.c
@@ -28,6 +28,8 @@
#include <stddef.h>
+#include "supervisor/shared/display.h"
+
#define CIRCUITPY_SUPERVISOR_ALLOC_COUNT 8
static supervisor_allocation allocations[CIRCUITPY_SUPERVISOR_ALLOC_COUNT];
@@ -114,3 +116,7 @@ supervisor_allocation* allocate_memory(uint32_t length, bool high) {
alloc->length = length;
return alloc;
}
+
+void supervisor_move_memory(void) {
+ supervisor_display_move_memory();
+}