From d85ff6b9ef350834fff41ef4770a54beae159296 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Thu, 26 Feb 2026 07:54:53 -0600 Subject: [PATCH] Increase PSRAM malloc threshold from 256 bytes to 2048 bytes --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 4c686937b81..8a46b3f5bf6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -389,8 +389,8 @@ void setup() #if defined(ARCH_ESP32) && defined(BOARD_HAS_PSRAM) #ifndef SENSECAP_INDICATOR - // use PSRAM for malloc calls > 256 bytes - heap_caps_malloc_extmem_enable(256); + // use PSRAM for malloc calls > 2048 bytes + heap_caps_malloc_extmem_enable(2048); #endif #endif