We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d5016b commit c49ecc1Copy full SHA for c49ecc1
examples/simple_repeater/main.cpp
@@ -724,7 +724,7 @@ class MyMesh : public mesh::Mesh, public CommonCLICallbacks {
724
for (int i = 0; i < MAX_NEIGHBOURS; i++) {
725
NeighbourInfo* neighbour = &neighbours[i];
726
if(memcmp(neighbour->id.pub_key, pubkey, key_len) == 0){
727
- neighbours[i] = {}; // clear neighbour entry
+ neighbours[i] = NeighbourInfo(); // clear neighbour entry
728
}
729
730
#endif
0 commit comments