From d8410348c334f94c76c2186486d91e92182a48a9 Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Fri, 28 May 2021 11:23:08 +0200 Subject: [PATCH] Move bin_allocator structs to SDRAM this frees lots of space for the stack on colorlcd targets --- radio/src/bin_allocator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radio/src/bin_allocator.cpp b/radio/src/bin_allocator.cpp index 8d1bfd477..14dbb75de 100644 --- a/radio/src/bin_allocator.cpp +++ b/radio/src/bin_allocator.cpp @@ -24,8 +24,8 @@ #include "bin_allocator.h" -BinAllocator_slots1 slots1; -BinAllocator_slots2 slots2; +BinAllocator_slots1 slots1 __SDRAM; +BinAllocator_slots2 slots2 __SDRAM; #if defined(DEBUG) int SimulateMallocFailure = 0; //set this to simulate allocation failure