Decrease max nodes for NRF52 to 80 as workaround to prevent FS blowouts (#5338)

* Decrease max nodes for NRF52 to 80 as workaround to prevent FS blowouts

* Don't redefine

* Newline
This commit is contained in:
Ben Meadors
2024-11-13 07:43:05 -06:00
committed by GitHub
parent ac804818de
commit ea150c32f3

View File

@@ -20,8 +20,12 @@
/// max number of nodes allowed in the mesh
#ifndef MAX_NUM_NODES
#ifdef ARCH_NRF52
#define MAX_NUM_NODES 80
#else
#define MAX_NUM_NODES 100
#endif
#endif
/// Max number of channels allowed
#define MAX_NUM_CHANNELS (member_size(meshtastic_ChannelFile, channels) / member_size(meshtastic_ChannelFile, channels[0]))