summaryrefslogtreecommitdiff
path: root/supervisor/shared/memory.c
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-01-31 16:03:51 -0500
committerGitHub <noreply@github.com>2019-01-31 16:03:51 -0500
commit7c443fbef2b92bfdd382db9aeaddcdcecbc02cd0 (patch)
tree93c06f6ba863e234148555f41042b354286cb52e /supervisor/shared/memory.c
parent63d456127b783efb376bd2b25598cc9e7f9dceb6 (diff)
parentd72cd5b2d6cbc95665c41a43d6d914e71ac58017 (diff)
Merge pull request #1510 from tannewt/terminalio
Add a terminal that shows by default on displays.
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();
+}