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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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]