mirror of
https://github.com/meshtastic/firmware.git
synced 2025-10-27 15:02:41 +00:00
Update to include heltec lora32 v4 nodes with 2MB psram
This commit is contained in:
parent
1d896f1bba
commit
344263de86
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user