From 8caa075bc60fda49e149c936457a797ea848de9d Mon Sep 17 00:00:00 2001 From: geeksville Date: Sat, 13 Jun 2020 11:05:36 -0700 Subject: [PATCH] used fixed pool allocator for now - since that's how we've been testing --- src/mesh/Router.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesh/Router.cpp b/src/mesh/Router.cpp index 7ecb6e72f..bbf03944f 100644 --- a/src/mesh/Router.cpp +++ b/src/mesh/Router.cpp @@ -24,8 +24,8 @@ (MAX_RX_TOPHONE + MAX_RX_FROMRADIO + 2 * MAX_TX_QUEUE + \ 2) // max number of packets which can be in flight (either queued from reception or queued for sending) -// static MemoryPool staticPool(MAX_PACKETS); -static MemoryDynamic staticPool; +static MemoryPool staticPool(MAX_PACKETS); +// static MemoryDynamic staticPool; Allocator &packetPool = staticPool;