Increase PSRAM malloc threshold from 256 bytes to 2048 bytes (#9758)

This commit is contained in:
Ben Meadors
2026-02-28 09:34:26 -06:00
committed by GitHub
parent 2b7a230977
commit 6920a5f8b1
+2 -2
View File
@@ -389,8 +389,8 @@ void setup()
#if defined(ARCH_ESP32) && defined(BOARD_HAS_PSRAM) #if defined(ARCH_ESP32) && defined(BOARD_HAS_PSRAM)
#ifndef SENSECAP_INDICATOR #ifndef SENSECAP_INDICATOR
// use PSRAM for malloc calls > 256 bytes // use PSRAM for malloc calls > 2048 bytes
heap_caps_malloc_extmem_enable(256); heap_caps_malloc_extmem_enable(2048);
#endif #endif
#endif #endif