kopia lustrzana https://github.com/meshtastic/firmware
Merge branch 'master' of github.com:meshtastic/Meshtastic-device
commit
7ff940409e
|
@ -215,7 +215,7 @@ void NodeDB::installDefaultDeviceState()
|
|||
// Set default owner name
|
||||
pickNewNodeNum(); // based on macaddr now
|
||||
sprintf(owner.long_name, "Unknown %02x%02x", ourMacAddr[4], ourMacAddr[5]);
|
||||
sprintf(owner.short_name, "?%02X", (unsigned)(myNodeInfo.my_node_num & 0xff));
|
||||
sprintf(owner.short_name, "%02x%02x", ourMacAddr[4], ourMacAddr[5]);
|
||||
|
||||
sprintf(owner.id, "!%08x", getNodeNum()); // Default node ID now based on nodenum
|
||||
memcpy(owner.macaddr, ourMacAddr, sizeof(owner.macaddr));
|
||||
|
|
Ładowanie…
Reference in New Issue