]> git.meshlink.io Git - meshlink-tiny/blobdiff - test/basicpp.cpp
Add memory profiling.
[meshlink-tiny] / test / basicpp.cpp
index bed69461166f025e837c58428b14cf828bdca48b..06e732ce2bdd686aceafd5a53f5e4206da85d838 100644 (file)
@@ -24,10 +24,6 @@ int main(void) {
                assert(self);
                assert(!strcmp(self->name, "foo"));
 
-               // Disable local discovery.
-
-               mesh.enable_discovery(false);
-
                // Start and stop the mesh.
 
                assert(mesh.start());
@@ -55,8 +51,6 @@ int main(void) {
 
                // Start and stop the mesh.
 
-               mesh.enable_discovery(false);
-
                assert(mesh.start());
                mesh.stop();
        }