Update to include heltec lora32 v4 nodes with 2MB psram

This commit is contained in:
Clive Blackledge 2025-09-27 14:27:45 -07:00 committed by Tom Fifield
parent 1d896f1bba
commit 344263de86

View File

@ -52,7 +52,7 @@ static_assert(sizeof(meshtastic_NodeInfoLite) <= 200, "NodeInfoLite size increas
static inline int get_max_num_nodes()
{
uint32_t psram_size = ESP.getPsramSize() / (1024 * 1024); // Convert Bytes to MB
if (psram_size >= 4) {
if (psram_size >= 2) {
return 800;
}