Skip to content

Commit 9c5513d

Browse files
committed
Merge remote-tracking branch 'origin/master' into develop
2 parents e8e8ee0 + 74e6723 commit 9c5513d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/modules/NodeInfoModule.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,12 @@ meshtastic_MeshPacket *NodeInfoModule::allocReply()
113113
u.public_key.size = 0;
114114
}
115115

116-
// Clear the user.id field since it should be derived from node number on the receiving end
117-
u.id[0] = '\0';
116+
// FIXME: Clear the user.id field since it should be derived from node number on the receiving end
117+
// u.id[0] = '\0';
118+
119+
// Ensure our user.id is derived correctly
120+
strcpy(u.id, nodeDB->getNodeId().c_str());
121+
118122
LOG_INFO("Send owner %s/%s/%s", u.id, u.long_name, u.short_name);
119123
lastSentToMesh = millis();
120124
return allocDataProtobuf(u);

variants/native/portduino/platformio.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,7 @@ build_src_filter = ${env:native-tft.build_src_filter}
107107
[env:coverage]
108108
extends = env:native
109109
build_flags = -lgcov --coverage -fprofile-abs-path -fsanitize=address ${env:native.build_flags}
110+
; https://docs.platformio.org/en/latest/projectconf/sections/env/options/test/test_testing_command.html
111+
test_testing_command =
112+
${platformio.build_dir}/${this.__env__}/program
113+
-s

0 commit comments

Comments
 (0)