* CommonCLI: added "get/set path.hash.mode "

This commit is contained in:
Scott Powell 2026-02-23 14:25:19 +11:00
parent 05e7b682b9
commit a66773bac0
8 changed files with 49 additions and 18 deletions

View file

@ -917,7 +917,7 @@ void MyMesh::sendSelfAdvertisement(int delay_millis, bool flood) {
mesh::Packet *pkt = createSelfAdvert();
if (pkt) {
if (flood) {
sendFlood(pkt, delay_millis); // TODO: which path_hash_size to use??
sendFlood(pkt, delay_millis, _prefs.path_hash_mode + 1);
} else {
sendZeroHop(pkt, delay_millis);
}