mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-26 09:59:01 +00:00
Set lastMeasurementPacket as one we're sending (#1130)
This commit is contained in:
parent
165e8e8cba
commit
61e1b8d859
@ -328,6 +328,7 @@ bool EnvironmentalMeasurementPlugin::sendOurEnvironmentalMeasurement(NodeNum des
|
|||||||
p->to = dest;
|
p->to = dest;
|
||||||
p->decoded.want_response = wantReplies;
|
p->decoded.want_response = wantReplies;
|
||||||
|
|
||||||
|
lastMeasurementPacket = packetPool.allocCopy(*p);
|
||||||
DEBUG_MSG("EnvironmentalMeasurement: Sending packet to mesh");
|
DEBUG_MSG("EnvironmentalMeasurement: Sending packet to mesh");
|
||||||
service.sendToMesh(p);
|
service.sendToMesh(p);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user