Skip to content

Commit 0770618

Browse files
author
realtag
committed
Allow repeater discovery even if repeater mode is disabled on the requesting repeater.
1 parent bf9c6cb commit 0770618

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

examples/simple_repeater/MyMesh.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -767,8 +767,6 @@ void MyMesh::onControlDataRecv(mesh::Packet* packet) {
767767
}
768768

769769
void MyMesh::sendNodeDiscoverReq() {
770-
if (_prefs.disable_fwd) return;
771-
772770
uint8_t data[10];
773771
data[0] = CTL_TYPE_NODE_DISCOVER_REQ; // prefix_only=0
774772
data[1] = (1 << ADV_TYPE_REPEATER);

0 commit comments

Comments
 (0)