mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Revert a couple of lint fixes
This commit is contained in:
parent
30f111510a
commit
03f7d6d37d
1 changed files with 2 additions and 2 deletions
|
|
@ -590,7 +590,7 @@ class BLEManager: NSObject, CBPeripheralDelegate, MqttClientProxyManagerDelegate
|
|||
return
|
||||
}
|
||||
do {
|
||||
let logRecord = try LogRecord(serializedBytes: characteristic.value!)
|
||||
let logRecord = try LogRecord(serializedData: characteristic.value!)
|
||||
var message = logRecord.source.isEmpty ? logRecord.message : "[\(logRecord.source)] \(logRecord.message)"
|
||||
switch logRecord.level {
|
||||
case .debug:
|
||||
|
|
@ -627,7 +627,7 @@ class BLEManager: NSObject, CBPeripheralDelegate, MqttClientProxyManagerDelegate
|
|||
var decodedInfo = FromRadio()
|
||||
|
||||
do {
|
||||
decodedInfo = try FromRadio(serializedBytes: characteristic.value!)
|
||||
decodedInfo = try FromRadio(serializedData: characteristic.value!)
|
||||
|
||||
} catch {
|
||||
Logger.services.error("💥 \(error.localizedDescription, privacy: .public) \(characteristic.value!, privacy: .public)")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue