summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glucometerutils/drivers/fsprecisionneo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glucometerutils/drivers/fsprecisionneo.py b/glucometerutils/drivers/fsprecisionneo.py
index 296c943..1153908 100644
--- a/glucometerutils/drivers/fsprecisionneo.py
+++ b/glucometerutils/drivers/fsprecisionneo.py
@@ -84,7 +84,7 @@ class Device(freestyle.FreeStyleHidDevice):
values = []
for v in record:
if v == "HI":
- v = 999
+ v = float("inf")
values.append(int(v))
raw_reading = _NeoReading._make(values[:len(_NeoReading._fields)])