diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2019-05-16 22:37:34 +0200 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2019-05-16 22:37:34 +0200 |
commit | a5a60d9c4bc6423ec5e68fb0c20a997dce245c96 (patch) | |
tree | abb6e441233e67e0e5c2ff369ce216f872481f9b /glucometerutils | |
parent | new line at end of .gitignore, rename arresult entry map (diff) | |
download | glucometerutils-a5a60d9c4bc6423ec5e68fb0c20a997dce245c96.tar glucometerutils-a5a60d9c4bc6423ec5e68fb0c20a997dce245c96.tar.gz glucometerutils-a5a60d9c4bc6423ec5e68fb0c20a997dce245c96.tar.bz2 glucometerutils-a5a60d9c4bc6423ec5e68fb0c20a997dce245c96.tar.lz glucometerutils-a5a60d9c4bc6423ec5e68fb0c20a997dce245c96.tar.xz glucometerutils-a5a60d9c4bc6423ec5e68fb0c20a997dce245c96.tar.zst glucometerutils-a5a60d9c4bc6423ec5e68fb0c20a997dce245c96.zip |
Diffstat (limited to 'glucometerutils')
-rw-r--r-- | glucometerutils/support/freestyle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glucometerutils/support/freestyle.py b/glucometerutils/support/freestyle.py index 1c5e284..816af81 100644 --- a/glucometerutils/support/freestyle.py +++ b/glucometerutils/support/freestyle.py @@ -28,7 +28,7 @@ from glucometerutils.support import hiddevice _INIT_SEQUENCE = (0x04, 0x05, 0x15, 0x01) _FREESTYLE_MESSAGE = construct.Struct( - 'hid_report' / construct.Const(construct.Byte, 0), + 'hid_report' / construct.Const(0, construct.Byte), 'message_type' / construct.Byte, 'command' / construct.Padded( 63, # command can only be up to 62 bytes, but one is used for length. |