mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Fix assorted nulls
This commit is contained in:
parent
5ecf4a031c
commit
27a90c4dc4
13 changed files with 73 additions and 69 deletions
|
|
@ -163,13 +163,13 @@ struct SerialConfig: View {
|
|||
|
||||
self.bleManager.context = context
|
||||
|
||||
self.enabled = node!.serialConfig?.enabled ?? false
|
||||
self.echo = node!.serialConfig?.echo ?? false
|
||||
self.rxd = Int(node!.serialConfig?.rxd ?? 0)
|
||||
self.txd = Int(node!.serialConfig?.txd ?? 0)
|
||||
self.baudRate = Int(node!.serialConfig?.baudRate ?? 0)
|
||||
self.timeout = Int(node!.serialConfig?.timeout ?? 0)
|
||||
self.mode = Int(node!.serialConfig?.mode ?? 0)
|
||||
self.enabled = node?.serialConfig?.enabled ?? false
|
||||
self.echo = node?.serialConfig?.echo ?? false
|
||||
self.rxd = Int(node?.serialConfig?.rxd ?? 0)
|
||||
self.txd = Int(node?.serialConfig?.txd ?? 0)
|
||||
self.baudRate = Int(node?.serialConfig?.baudRate ?? 0)
|
||||
self.timeout = Int(node?.serialConfig?.timeout ?? 0)
|
||||
self.mode = Int(node?.serialConfig?.mode ?? 0)
|
||||
|
||||
self.hasChanges = false
|
||||
self.initialLoad = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue