Skip to content

Commit

Permalink
Make MAX_NUM_NODES configurable in variant.h (#3453)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Meadors <[email protected]>
  • Loading branch information
jp-bennett and thebentern authored Mar 21, 2024
1 parent 79cfb1e commit 35754d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions src/mesh/mesh-pb-constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions variants/portduino/variant.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define HAS_SCREEN 1
#define CANNED_MESSAGE_MODULE_ENABLE 1
#define HAS_GPS 1
#define MAX_NUM_NODES settingsMap[maxnodes]

0 comments on commit 35754d6

Please sign in to comment.