summaryrefslogtreecommitdiffstats
path: root/glucometerutils/support/lifescan_binary_protocol.py
diff options
context:
space:
mode:
authorArkadiusz Bulski <arek.bulski@gmail.com>2018-02-18 13:44:05 +0100
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2018-03-17 14:41:40 +0100
commit5f8a6fcd22c2e0f5e3811f299247d17a97377084 (patch)
tree4dc9022db0d2b8b125c7d0f2103b98d6101bf855 /glucometerutils/support/lifescan_binary_protocol.py
parentcorected timestamp comment (diff)
downloadglucometerutils-5f8a6fcd22c2e0f5e3811f299247d17a97377084.tar
glucometerutils-5f8a6fcd22c2e0f5e3811f299247d17a97377084.tar.gz
glucometerutils-5f8a6fcd22c2e0f5e3811f299247d17a97377084.tar.bz2
glucometerutils-5f8a6fcd22c2e0f5e3811f299247d17a97377084.tar.lz
glucometerutils-5f8a6fcd22c2e0f5e3811f299247d17a97377084.tar.xz
glucometerutils-5f8a6fcd22c2e0f5e3811f299247d17a97377084.tar.zst
glucometerutils-5f8a6fcd22c2e0f5e3811f299247d17a97377084.zip
Diffstat (limited to '')
-rw-r--r--glucometerutils/support/lifescan_binary_protocol.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glucometerutils/support/lifescan_binary_protocol.py b/glucometerutils/support/lifescan_binary_protocol.py
index 7b1fbec..9bdb220 100644
--- a/glucometerutils/support/lifescan_binary_protocol.py
+++ b/glucometerutils/support/lifescan_binary_protocol.py
@@ -62,5 +62,5 @@ _GLUCOSE_UNIT_MAPPING_TABLE = {
common.Unit.MMOL_L: 0x01,
}
-GLUCOSE_UNIT = construct.SymmetricMapping(
+GLUCOSE_UNIT = construct.Mapping(
construct.Byte, _GLUCOSE_UNIT_MAPPING_TABLE)