Skip to content

Commit 619382a

Browse files
committed
Fix scanning the Lingo serial number
1 parent 0f723be commit 619382a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

DiaBLE Playground.swiftpm/Sensor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ enum SensorState: UInt8, CustomStringConvertible {
114114

115115
var uid: SensorUid = Data() {
116116
willSet(uid) {
117-
if type != .libre3 {
117+
if type != .libre3 && type != .lingo {
118118
serial = serialNumber(uid: uid, family: self.family)
119119
}
120120
}

DiaBLE.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ APP_GROUP_ID = group.com.$(DEVELOPMENT_TEAM).DiaBLE
55

66
// Comment out all the following lines in DiaBLEOverride.xcconfig
77
MARKETING_VERSION = 0.0.1
8-
CURRENT_PROJECT_VERSION = 118
8+
CURRENT_PROJECT_VERSION = 119
99
#include? "DiaBLEOverride.xcconfig"

DiaBLE/Sensor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ enum SensorState: UInt8, CustomStringConvertible {
114114

115115
var uid: SensorUid = Data() {
116116
willSet(uid) {
117-
if type != .libre3 {
117+
if type != .libre3 && type != .lingo {
118118
serial = serialNumber(uid: uid, family: self.family)
119119
}
120120
}

0 commit comments

Comments
 (0)