Skip to content

Commit

Permalink
Don't redefine
Browse files Browse the repository at this point in the history
  • Loading branch information
thebentern committed Nov 13, 2024
1 parent 5a37edc commit 70b3003
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/mesh/mesh-pb-constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@

/// max number of nodes allowed in the mesh
#ifndef MAX_NUM_NODES
#define MAX_NUM_NODES 100
#endif

#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]))
Expand Down

0 comments on commit 70b3003

Please sign in to comment.