mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-27 02:14:37 +00:00
memory is tight on the nrf52832 board (for now) - so don't allocate too much
This commit is contained in:
parent
6fbf6b2986
commit
dc54e7331f
@ -24,8 +24,8 @@
|
|||||||
(MAX_RX_TOPHONE + MAX_RX_FROMRADIO + 2 * MAX_TX_QUEUE + \
|
(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)
|
2) // max number of packets which can be in flight (either queued from reception or queued for sending)
|
||||||
|
|
||||||
static MemoryPool<MeshPacket> staticPool(MAX_PACKETS);
|
// static MemoryPool<MeshPacket> staticPool(MAX_PACKETS);
|
||||||
// static MemoryDynamic<MeshPacket> staticPool;
|
static MemoryDynamic<MeshPacket> staticPool;
|
||||||
|
|
||||||
Allocator<MeshPacket> &packetPool = staticPool;
|
Allocator<MeshPacket> &packetPool = staticPool;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user