mirror of
https://gitlab.com/wirelos/sprocket-lib.git
synced 2025-12-18 14:15:51 +01:00
keep network ref
This commit is contained in:
@@ -29,6 +29,7 @@ Sprocket* Sprocket::join(Network& net){
|
||||
net.init(&scheduler);
|
||||
//net.onReceive(bind(&Sprocket::dispatch,this, _1, _2));
|
||||
net.connect();
|
||||
network = net;
|
||||
return activate(&scheduler, &net);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user