Skip to content

Commit

Permalink
Decrease max nodes for NRF52 to 80 as workaround to prevent FS blowouts
Browse files Browse the repository at this point in the history
  • Loading branch information
thebentern committed Nov 13, 2024
1 parent ac80481 commit 5a37edc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mesh/mesh-pb-constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
#define MAX_NUM_NODES 100
#endif

#ifdef ARCH_NRF52
#define MAX_NUM_NODES 80
#endif

/// Max number of channels allowed
#define MAX_NUM_CHANNELS (member_size(meshtastic_ChannelFile, channels) / member_size(meshtastic_ChannelFile, channels[0]))

Expand Down

0 comments on commit 5a37edc

Please sign in to comment.