mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-23 19:20:41 +00:00
Macro guard heap_caps_malloc_extmem_enable from SENSECAP_INDICATOR (#9007)
This commit is contained in:
@@ -447,9 +447,11 @@ void setup()
|
|||||||
LOG_INFO("\n\n//\\ E S H T /\\ S T / C\n");
|
LOG_INFO("\n\n//\\ E S H T /\\ S T / C\n");
|
||||||
|
|
||||||
#if defined(ARCH_ESP32) && defined(BOARD_HAS_PSRAM)
|
#if defined(ARCH_ESP32) && defined(BOARD_HAS_PSRAM)
|
||||||
|
#ifndef SENSECAP_INDICATOR
|
||||||
// use PSRAM for malloc calls > 256 bytes
|
// use PSRAM for malloc calls > 256 bytes
|
||||||
heap_caps_malloc_extmem_enable(256);
|
heap_caps_malloc_extmem_enable(256);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(DEBUG_MUTE) && defined(DEBUG_PORT)
|
#if defined(DEBUG_MUTE) && defined(DEBUG_PORT)
|
||||||
DEBUG_PORT.printf("\r\n\r\n//\\ E S H T /\\ S T / C\r\n");
|
DEBUG_PORT.printf("\r\n\r\n//\\ E S H T /\\ S T / C\r\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user