Allow plugins to write to the parsed protobuf (minimizes copies in some cases)
This commit is contained in:
1 parent
676a6f3bea
commit
d40b66beac
11 files changed
+11
-11
No files matched your search
@@ -48,7 +48,7 @@ RemoteHardwarePlugin::RemoteHardwarePlugin()
|
||||
{
|
||||
}
|
||||
|
||||
bool RemoteHardwarePlugin::handleReceivedProtobuf(const MeshPacket &req, const HardwareMessage *pptr)
|
||||
bool RemoteHardwarePlugin::handleReceivedProtobuf(const MeshPacket &req, HardwareMessage *pptr)
|
||||
{
|
||||
auto p = *pptr;
|
||||
DEBUG_MSG("Received RemoteHardware typ=%d\n", p.typ);
|
||||
|
||||
Reference in new issue
Block a user