From 70b3003c0a1c102910f4d1e401cfd1d332ccba79 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Wed, 13 Nov 2024 07:27:28 -0600 Subject: [PATCH] Don't redefine --- src/mesh/mesh-pb-constants.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/mesh/mesh-pb-constants.h b/src/mesh/mesh-pb-constants.h index 9fad30ee41..8ba2be78c1 100644 --- a/src/mesh/mesh-pb-constants.h +++ b/src/mesh/mesh-pb-constants.h @@ -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]))