mirror of
https://github.com/meshtastic/firmware.git
synced 2025-10-01 05:15:50 +00:00
trunk formatting
This commit is contained in:
parent
b42185c722
commit
f7433eb4ee
@ -904,7 +904,7 @@ std::string MQTT::meshPacketToJson(meshtastic_MeshPacket *mp)
|
||||
jsonObj["hops_away"] = new JSONValue((unsigned int)(mp->hop_start - mp->hop_limit));
|
||||
jsonObj["hop_start"] = new JSONValue((unsigned int)(mp->hop_start));
|
||||
}
|
||||
|
||||
|
||||
// serialize and write it to the stream
|
||||
JSONValue *value = new JSONValue(jsonObj);
|
||||
std::string jsonStr = value->Stringify();
|
||||
|
Loading…
Reference in New Issue
Block a user