Merge pull request #3233 from entr0p1/fix/centralise-max-clients

Fix duplicate MAX_CLIENTS definition
This commit is contained in:
ripplebiz
2026-08-20 14:09:30 +10:00
committed by GitHub
2 changed files with 1 additions and 5 deletions
-4
View File
@@ -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;
+1 -1
View File
@@ -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 {