mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Use whatever channel the node info comes in on
This commit is contained in:
parent
147721dfdf
commit
0a0f7f01cb
1 changed files with 1 additions and 1 deletions
|
|
@ -251,7 +251,7 @@ func nodeInfoPacket (nodeInfo: NodeInfo, channel: UInt32, context: NSManagedObje
|
|||
let newNode = NodeInfoEntity(context: context)
|
||||
newNode.id = Int64(nodeInfo.num)
|
||||
newNode.num = Int64(nodeInfo.num)
|
||||
newNode.channel = 0//Int32(channel)
|
||||
newNode.channel = Int32(channel)
|
||||
|
||||
if nodeInfo.hasDeviceMetrics {
|
||||
let telemetry = TelemetryEntity(context: context)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue