From e9db03d18508e753a0a40190658bb63680cf805c Mon Sep 17 00:00:00 2001 From: Jason P Date: Wed, 17 Dec 2025 14:46:35 -0600 Subject: [PATCH] Macro guard heap_caps_malloc_extmem_enable from SENSECAP_INDICATOR (#9007) --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 45f4eb7b5..e29736712 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -447,9 +447,11 @@ void setup() LOG_INFO("\n\n//\\ E S H T /\\ S T / C\n"); #if defined(ARCH_ESP32) && defined(BOARD_HAS_PSRAM) +#ifndef SENSECAP_INDICATOR // use PSRAM for malloc calls > 256 bytes heap_caps_malloc_extmem_enable(256); #endif +#endif #if defined(DEBUG_MUTE) && defined(DEBUG_PORT) DEBUG_PORT.printf("\r\n\r\n//\\ E S H T /\\ S T / C\r\n");