adapt mesh app to use mesh plugin

This commit is contained in:
2018-11-08 14:48:17 +01:00
parent c75c4f24f3
commit fe31397b2b
10 changed files with 44 additions and 46 deletions

View File

@@ -40,8 +40,8 @@ void MeshNet::sendTo(uint32_t target, String msg){
mesh.sendSingle(target, msg);
}
void MeshNet::broadcast(String msg){
mesh.sendBroadcast(msg);
void MeshNet::broadcast(String msg, bool self){
mesh.sendBroadcast(msg, self);
}
void MeshNet::update(){