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 mverch67
parent 8f2f2221d1
commit 326e0a588e
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

View File

@ -1,3 +1,4 @@
#define HAS_SCREEN 1
#define CANNED_MESSAGE_MODULE_ENABLE 1
#define HAS_GPS 1
#define MAX_NUM_NODES settingsMap[maxnodes]