Allow plugins to write to the parsed protobuf (minimizes copies in some cases)

This commit is contained in:
Kevin Hester committed 2021-08-01 12:58:23 -07:00
1 parent 676a6f3bea
commit d40b66beac
11 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
RoutingPlugin *routingPlugin;
bool RoutingPlugin::handleReceivedProtobuf(const MeshPacket &mp, const Routing *r)
bool RoutingPlugin::handleReceivedProtobuf(const MeshPacket &mp, Routing *r)
{
printPacket("Routing sniffing", &mp);
router->sniffReceived(&mp, r);