summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2020-01-24 20:33:24 +0100
committerDiego Elio Pettenò <flameeyes@flameeyes.com>2020-01-24 20:33:24 +0100
commit8c5ab9406e77cb6ed918c997be0870104bda31a7 (patch)
tree4690fc4a0f65a37a84d3ed881812e3ecd1351ef4
parentAvoid heuristics, and instead add an explicit --libre2 flag. (diff)
downloadglucometerutils-8c5ab9406e77cb6ed918c997be0870104bda31a7.tar
glucometerutils-8c5ab9406e77cb6ed918c997be0870104bda31a7.tar.gz
glucometerutils-8c5ab9406e77cb6ed918c997be0870104bda31a7.tar.bz2
glucometerutils-8c5ab9406e77cb6ed918c997be0870104bda31a7.tar.lz
glucometerutils-8c5ab9406e77cb6ed918c997be0870104bda31a7.tar.xz
glucometerutils-8c5ab9406e77cb6ed918c997be0870104bda31a7.tar.zst
glucometerutils-8c5ab9406e77cb6ed918c997be0870104bda31a7.zip
-rw-r--r--glucometerutils/support/freestyle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glucometerutils/support/freestyle.py b/glucometerutils/support/freestyle.py
index d61842e..6019fa7 100644
--- a/glucometerutils/support/freestyle.py
+++ b/glucometerutils/support/freestyle.py
@@ -21,7 +21,7 @@ from glucometerutils.support import hiddevice
# Sequence of initialization messages sent to the device to establish HID
# protocol.
-_INIT_SEQUENCE = (0x04, 0x05, 0x15, 0x01)
+_INIT_SEQUENCE = (0x01,)
_FREESTYLE_MESSAGE = construct.Struct(
'hid_report' / construct.Const(0, construct.Byte),