mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-01 09:19:38 +00:00
Send to phone like position packets (#1582)
This commit is contained in:
parent
97684c6c73
commit
44ffdc5172
@ -72,7 +72,7 @@ bool DeviceTelemetryModule::sendOurTelemetry(NodeNum dest, bool wantReplies)
|
|||||||
|
|
||||||
lastMeasurementPacket = packetPool.allocCopy(*p);
|
lastMeasurementPacket = packetPool.allocCopy(*p);
|
||||||
DEBUG_MSG("Device Telemetry: Sending packet to mesh\n");
|
DEBUG_MSG("Device Telemetry: Sending packet to mesh\n");
|
||||||
service.sendToMesh(p);
|
service.sendToMesh(p, RX_SRC_LOCAL, true);
|
||||||
nodeDB.updateTelemetry(nodeDB.getNodeNum(), t, RX_SRC_LOCAL);
|
nodeDB.updateTelemetry(nodeDB.getNodeNum(), t, RX_SRC_LOCAL);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -229,6 +229,6 @@ bool EnvironmentTelemetryModule::sendOurTelemetry(NodeNum dest, bool wantReplies
|
|||||||
|
|
||||||
lastMeasurementPacket = packetPool.allocCopy(*p);
|
lastMeasurementPacket = packetPool.allocCopy(*p);
|
||||||
DEBUG_MSG("Environment Telemetry: Sending packet to mesh");
|
DEBUG_MSG("Environment Telemetry: Sending packet to mesh");
|
||||||
service.sendToMesh(p);
|
service.sendToMesh(p, RX_SRC_LOCAL, true);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user