Increase PSRAM malloc threshold from 256 bytes to 2048 bytes (#9758)
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user