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

This commit is contained in:
Kevin Hester
2021-08-01 12:58:23 -07:00
parent 676a6f3bea
commit d40b66beac
11 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ PositionPlugin::PositionPlugin()
setIntervalFromNow(60 * 1000); // Send our initial position 60 seconds after we start (to give GPS time to setup)
}
bool PositionPlugin::handleReceivedProtobuf(const MeshPacket &mp, const Position *pptr)
bool PositionPlugin::handleReceivedProtobuf(const MeshPacket &mp, Position *pptr)
{
auto p = *pptr;