mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-02 19:02:00 +00:00
Merge pull request #3233 from entr0p1/fix/centralise-max-clients
Fix duplicate MAX_CLIENTS definition
This commit is contained in:
@@ -59,10 +59,6 @@ struct RepeaterStats {
|
|||||||
uint32_t n_recv_errors;
|
uint32_t n_recv_errors;
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef MAX_CLIENTS
|
|
||||||
#define MAX_CLIENTS 32
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct NeighbourInfo {
|
struct NeighbourInfo {
|
||||||
mesh::Identity id;
|
mesh::Identity id;
|
||||||
uint32_t advert_timestamp;
|
uint32_t advert_timestamp;
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ struct ClientInfo {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#ifndef MAX_CLIENTS
|
#ifndef MAX_CLIENTS
|
||||||
#define MAX_CLIENTS 20
|
#define MAX_CLIENTS 32
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class ClientACL {
|
class ClientACL {
|
||||||
|
|||||||
Reference in New Issue
Block a user