diff --git a/src/mesh/mesh-pb-constants.h b/src/mesh/mesh-pb-constants.h index e83bdc536..8679f364c 100644 --- a/src/mesh/mesh-pb-constants.h +++ b/src/mesh/mesh-pb-constants.h @@ -52,10 +52,8 @@ 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 >= 8) { + if (psram_size >= 4) { return 800; - } else if (psram_size >= 4) { - return 400; } uint32_t flash_size = ESP.getFlashChipSize() / (1024 * 1024); // Fallback based on flash size