mirror of
https://gitlab.com/wirelos/sprocket-lib.git
synced 2025-12-16 13:25:03 +01:00
add network as member of Sprocket
This commit is contained in:
@@ -35,6 +35,8 @@ void MeshNet::update(){
|
||||
// only needed when no scheduler was passed to mesh.init
|
||||
mesh.update();
|
||||
}
|
||||
|
||||
// example, not used, to be removed
|
||||
void MeshNet::onReceive( std::function<void(uint32_t from, String &msg)> cb) {
|
||||
mesh.onReceive(cb);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user