Make MAX_NUM_NODES configurable in variant.h (#3453)

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
Jonathan Bennett
2024-03-21 18:26:37 -05:00
committed by GitHub
parent 79cfb1e876
commit 35754d661d
2 changed files with 2 additions and 3 deletions

View File

@@ -17,9 +17,7 @@
#define MAX_RX_TOPHONE 32
/// max number of nodes allowed in the mesh
#if ARCH_PORTDUINO
#define MAX_NUM_NODES settingsMap[maxnodes]
#else
#ifndef MAX_NUM_NODES
#define MAX_NUM_NODES 100
#endif