mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-05 05:04:46 +00:00
Oops, added time to the Pos
This commit is contained in:
parent
27a10b395f
commit
b84c7ae49b
@ -70,6 +70,7 @@ void MQTT::onPublish(char *topic, byte *payload, unsigned int length)
|
||||
pos.latitude_i=posit["latitude_i"]->AsNumber();
|
||||
pos.longitude_i=posit["longitude_i"]->AsNumber();
|
||||
pos.altitude=posit["altitude"]->AsNumber();
|
||||
pos.time=posit["time"]->AsNumber();
|
||||
|
||||
// construct protobuf data packet using POSITION, send it to the mesh
|
||||
MeshPacket *p = router->allocForSending();
|
||||
|
Loading…
Reference in New Issue
Block a user