mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* companion: bug fix for 'export contact'
This commit is contained in:
parent
1e263cab2b
commit
631f593895
1 changed files with 2 additions and 0 deletions
|
|
@ -1122,6 +1122,8 @@ public:
|
|||
// export SELF
|
||||
auto pkt = createSelfAdvert(_prefs.node_name, _prefs.node_lat, _prefs.node_lon);
|
||||
if (pkt) {
|
||||
pkt->header |= ROUTE_TYPE_FLOOD; // would normally be sent in this mode
|
||||
|
||||
out_frame[0] = RESP_CODE_EXPORT_CONTACT;
|
||||
uint8_t out_len = pkt->writeTo(&out_frame[1]);
|
||||
releasePacket(pkt); // undo the obtainNewPacket()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue