Skip to content

Commit 69fb9a7

Browse files
author
Emilio Pavia
committed
Remove commented code
1 parent ea34485 commit 69fb9a7

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

ScienceJournal/Metadata/MetadataManager.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1731,10 +1731,6 @@ public class MetadataManager {
17311731
let sensor = BluetoothSensor(sensorInterface: interface,
17321732
sensorTimer: sensorController.unifiedSensorTimer)
17331733
sensorController.addOrUpdateBluetoothSensor(sensor)
1734-
// } else if let interface = Nano33IoTServiceInterface.sensor(for: spec) {
1735-
// let sensor = BluetoothSensor(sensorInterface: interface,
1736-
// sensorTimer: sensorController.unifiedSensorTimer)
1737-
// sensorController.addOrUpdateBluetoothSensor(sensor)
17381734
} else {
17391735
// We could not restore existing sensor. Delete it from disk.
17401736
deleteBluetoothSensor(withID: spec.gadgetInfo.address,

ScienceJournal/Sensors/SensorController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ open class SensorController {
6565

6666
/// Supported BLE Services.
6767
var bleServices: [BLEServiceInterface] {
68-
return [MKRWiFi1010ServiceInterface(), Nano33BLESenseServiceInterface()] //Nano33IoTServiceInterface()
68+
return [MKRWiFi1010ServiceInterface(), Nano33BLESenseServiceInterface()]
6969
}
7070

7171
/// Known bluetooth sensors keyed by service ID.

0 commit comments

Comments
 (0)