Allow repeater discovery even if repeater mode is disabled on the requesting repeater.

This commit is contained in:
realtag
2026-02-17 01:39:04 +00:00
parent bf9c6cb50f
commit 0770618ee2

View File

@@ -767,8 +767,6 @@ void MyMesh::onControlDataRecv(mesh::Packet* packet) {
}
void MyMesh::sendNodeDiscoverReq() {
if (_prefs.disable_fwd) return;
uint8_t data[10];
data[0] = CTL_TYPE_NODE_DISCOVER_REQ; // prefix_only=0
data[1] = (1 << ADV_TYPE_REPEATER);